You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, urlencoding was backed into the URI component to meet RFC 3986. However, you're the second person that mentioned confusion about it so I did a bit more digging around tonight. It appears there are times when at least Apache will already take care of URL-encodeing and decoding behind the scenes, so I'm thinking it might be smart to remove that feature and leave it to developers to encode if needed.
I'm trying to paginate model results by a GET query:
On the first search the URI is:
When clicked to the page 2 in the link generated by the Pager of Model
paginate()
, it becomes:Going to the third page, it becomes:
I was able to manipulate the string to get the data in the database with:
Then all inputs will return the same string:
'you alice to the little'
.This issue is related to the pagination links, that every time encode the, already encoded, query string.
On page 5 it becomes:
On page 6:
I tried to manipulate it with:
But as the page number increases the URI is re-encoded and a new override is needed to keep the original string.
I would open this question in the forum, but I think it is more related to how pagination works at the moment.
Thanks.
The text was updated successfully, but these errors were encountered: