Unsafe characters in a URL must be represented by a special sequence of characters. The following table lists the characters that are unsafe within URLs, and provides the associated escape characters to use in place of the unsafe character.
Table 12–2 Characters That Are Unsafe Within URLs
Unsafe Character |
Escape Characters |
---|---|
space |
%20 |
< |
%3c |
\> |
%3e |
" |
%22 |
# |
%23 |
% |
%25 |
{ |
%7b |
} |
%7d |
| |
%7c |
\\ |
%5c |
^ |
%5e |
~ |
%7e |
[ |
%5b |
] |
%5d |
” |
%60 |