Search code examples
php

What would cause %5B0%5D to be added to the url


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?


Solution

  • 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.