I have a form that submits via GET, and one of the hidden fields submits a list of category IDs, separated by comma (1,2,3).
When the get query gets to the page it is going, commas become escaped with %2C
.
I cannot make changes to PHP that parses these values, and they must remain commas.
In summary: ?category=1,2,3
works, and ?category=1%2C2%2C3
doesn't.
How do I prevent the comma from being encoded?
Edit to address the comment, simplified, but gives you the gist:
<form method="get" action="something.php">
<input type="hidden" name="category" value="1,2,3">
<input type="submit">
</form>