Hi sauladam,
I have the same problem.. Did you find a solution?
I want to filter my results, say, by a status. I want all posts that have one of the given statuses. I pass the statuses array through the query string (actually coming from a form with a multi-select):
posts?statuses[0]=new
I pass the statuses array to the pagination renderer with
$posts->prepends($statuses)->render();
And Laravel of course urlencodes the the URLs:
posts?statuses%5B0%5D=new&page=2
The problem now is: If i click on that pagination url, the "%" sign gets also urlencoded in the next request, so I'm redirected to:
posts?statuses%255B0%255D=new&page=2
which of course is not correct. Is this a Laravel specific issue (maybe some urlencoding somewhere in the middleware?) or does the browser mess this up? I've tried both Chrome and Firefox and both give the same results.
Does anybody else have this problem? What could be a way to work around it?
Please or to participate in this conversation.