For example, is this a valid URL:
http://0.0.0.0:8080/auth/reset?id=AAAAAAAAAAA=&code=uX8kklWhVi-Vhp4BdMRQYBEveEdwQXBFDecLlsT6yBw=
From what I've researched it seems to be discouraged (but I haven't found anything definitive), but all the decoders I've tested it with decode it correctly. This includes:
decodeURIComponent
A properly written application will find a given query parameter in any order and will not be order sensitive.
Query String is a group of keywords that send request to the web server. These requests are used to pass information (parameters) from one page to another and you can access those information in receiving page. It containing in the HTTP requests for a specific URL.
A Query String Collection is used to retrieve the variable values in the HTTP query string. If we want to transfer a large amount of data then we can't use the Request. QueryString. Query Strings are also generated by form submission or can be used by a user typing a query into the address bar of the browsers.
The key=value
format in the query component is just a convention.
The =
is allowed in the query component, and it has no reserved meaning there.
So yes, it is a valid URI.
How the parameters get parsed depends on the specific implementation. As the parameters are typically separated by a &
, it would make sense to interpret additional =
characters as part of the value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With