1 23
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 67 Quamquam : FFsomething (project search) : .../trunk/external/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : cherokee-pyscgi (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : handler_webdav (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 67 Django : django (project search) : .../django/trunk/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : pycherokeeconf (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : gnome-web-properties (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : cherokee-admin (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : tests (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 68 Cherokee : cherokee (project search) : .../trunk/doc/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 88 Spider_320 : djangomail (project search) : .../djangomail/djangomail_1.0.tgz/djangoMail/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 80 Spider_318 : Talk.org (project search) : .../pelle-talk.org-9ae6d0e1aedb0fb0e4391fa086cd10e6ca2e95f0.tar.gz/pelle-talk.org-9ae6d0e1aedb0fb0e4391fa086cd10e6ca2e95f0/django/utils/encoding.py
|
Convert an Internationalized Resource Identifier (IRI) portion to a URI
portion that is suitable for inclusion in a URL.
This is the algorithm from section 3.1 of RFC 3987. However, since we are
assuming input is either UTF-8 or unicode already, we can simplify things a
little from the full method.
Language: Python LOC: 80 Spider_318 : Talk.org (project search) : .../pelle-talk.org-20080612.tar.gz/pelle-talk.org-9ae6d0e1aedb0fb0e4391fa086cd10e6ca2e95f0/django/utils/encoding.py
|
*
* Any special character will be escaped using the escaping conventions of
* <a href="http://www.ietf.org/rfc/rfc3987.txt">RFC 3987</a>
*
* @return A string representation of this locator suitable for output
Language: Java LOC: 8 Spider_20090107_inc : Topic Maps API (project search) : .../src/org/tmapi/core/Locator.java
|
return iri_to_uri(to_iri_normal(xri))
end
# RFC 3987 section 3.1
def XRI.iri_to_uri(iri)
uri = iri.dup
Language: Ruby LOC: 58 Spider_299 : OpenMind (project search) : .../gems/ruby-yadis-0.3.4/lib/yadis/xri.rb
|
return iri_to_uri(to_iri_normal(xri))
end
# RFC 3987 section 3.1
def XRI.iri_to_uri(iri)
uri = iri.dup
Language: Ruby LOC: 58 Google : actionatr - Actionatr is a hybrid web/desk...done. (project search) : .../gems/ruby-yadis-0.3.4/lib/yadis/xri.rb
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Google : pylt - Pylot - Web Performance Tool (project search) : .../p/pylt/trunk/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Spider_20090529_inc : OpenSync on Solaris (project search) : .../lib/python2.4/vendor-packages/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Spider_20090529_inc : OpenSync on Solaris (project search) : .../lib/python2.4/vendor-packages/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Spider_320 : python-rest-client (project search) : .../python-rest-client/python-rest-client-0.2.tar.gz/python-rest-client/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Google : feedvalidator - A validator for syndicated...el... (project search) : .../trunk/apptestsuite/client/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Google : python-openid-graph - A Django application...works (project search) : .../trunk/lib/third_party/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Spider_319 : python-microblast (project search) : .../python-microblast/python-microblast.tar.gz/python-microblast/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Google : httplib2 - A comprehensive HTTP client lib...ython (project search) : .../h/httplib2/trunk/httplib2/iri2uri.py
|
"""
import urlparse
# Convert an IRI to a URI following the rules in RFC 3987
#
# The characters we need to enocde and escape are defined in the spec:
Language: Python LOC: 80 Spider_320 : fxhermes (project search) : .../Spider_320/fxhermes/FxHermes0.0.1.25-Mar-2008_12.17.tgz/FxHermes0.0.1/iri2uri.py
|
} else {
global $_escapeme_re;
// According to RFC 3987, section 3.1, "Mapping of IRIs to URIs"
return preg_replace_callback($_escapeme_re,
'_pct_escape_unicode', $iri);
Language: PHP copyright 2005 Janrain, Inc. LOC: 149 Spider_293 : Flux CMS (project search) : .../fluxcms/inc/Services/Yadis/XRI.php
|
1 23
|