When I submit my form my square brackets end up encoded in the url like this:
http://example.com/myurl?key%5B%5D=something
I'm checking the nginx access.log
to see if I can see anything weird in there, but it's just the same, single request that's logged for http://example.com/myurl?key%5B%5D=something
as well (which makes me think no rewriting is causing this).
What else could be causing this? Can't say I've ever had this happening before.
Tested this in both chrome and Edge, both same result.
The browser.
From the HTML spec:
[
and]
areU+005B : LEFT SQUARE BRACKET
andU+005D : RIGHT SQUARE BRACKET
, so they aren't in that range.So they get replaced by
%5B
and%5D