Escaping Unsafe Characters
Any "unsafe" characters in the URL need to be represented by a special sequence
of characters. This is called escaping unsafe characters.
For example, a space is an unsafe character that must be represented as
the URL. Thus, the distinguished name
encoded as
The following table lists the characters that are considered unsafe within URLs and
provides the associated escape characters to use in place of the unsafe character:
"o=example.com%20corporation"
Unsafe Character
space
<
>
"
#
%
{
}
|
\
^
~
[
]
'
"o=example.com corporation"
.
Escape Characters
%20
%3c
%3e
%22
%23
%25
%7b
%7d
%7c
%5c
%5e
%7e
%5b
%5d
%60
Escaping Unsafe Characters
within
%20
must be
Appendix C
LDAP URLs
535