0

My simple GET request form's field names are automatically encoded somehow. I found a question similar to mine but I am not using python, or sending that header. It's a simple form no javascript, php, python or whatever else. No form headers are sent either.

<input type="checkbox" name="views[]" value="print">

Looks like

&views%5B%5D=print

I can't seem to figure out how to not encode them. I need it to be an array on the other side.

Achshar
  • 5,153
  • 8
  • 40
  • 70

1 Answers1

0

See this answer on SO : Remove %5B%5D from URL when submitting form

%5B%5D are corresponding to []

See this article

You can also see this post on how to pass array in GET forms :

how to pass an array in GET in PHP?

Community
  • 1
  • 1
Vincent G
  • 8,547
  • 1
  • 18
  • 36