I am trying to track down why a link to remove a filter is not working on my site. And it appears to be because the links are being changed to have %5B0%5D and other varieties of letters and numbers with % added in
from what I gather this is the serialize function causing this?
Is there anything else that might cause that or is it definitely the serialize function?
It's called Percent-encoding and is used in encoding special characters in the url parameter values.
[0]
contains special characters so when encoded it gives %5B0%5D
where %5B
represents [
and %5D
represent ]
look for [0]
in your php .
Looks like an Array index to me. Those are url encoded values that are being added in there. It will take some work to figure out where. My suggestion is to step through the code to see what values are building those links.
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