Link to home
Start Free TrialLog in
Avatar of doramail05
doramail05Flag for Malaysia

asked on

If Url can contans '=='

just a quick one that if an url can contains character like '==' ?

eg.
uMm8PMN9seYA9vJd2IqZCg==
ASKER CERTIFIED SOLUTION
Avatar of tpayn
tpayn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check this link out:

http://www.ietf.org/rfc/rfc1738.txt

Check section 2.2. URL Character Encoding Issues for details especially on the reserved character part as equal (=) sign is a reserved character.  However, it looks like '==' is allowed.

I guess to be sure, if it is possible, encode the characters you need to include in URL.
By the way, I provided a specification that has been superseded by rfc2396.

Check the link below:

http://www.ietf.org/rfc/rfc2396.txt

Equal sign (=) is still considered a reserved character.  Quoting section 2.2 of the specification:

   Many URI include components consisting of or delimited by, certain
   special characters.  These characters are called "reserved", since
   their usage within the URI component is limited to their reserved
   purpose.  If the data for a URI component would conflict with the
   reserved purpose, then the conflicting data must be escaped before
   forming the URI.