I’m passing a URL parameter to a form via a get request. I need to URL encode the parameter when the parameter contains a ‘#’ . Otherwise the request fails. Why is this required ? Why do I need to URL encode the ‘#’ parameter but not other text ?
Share
The part following the
#is never seen by the server. It is generally used for navigation at the client-end.The following characters need to be encoded in order to be used literally.