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
Query string rules do not work - such as: /news/?filter_category=universities => /loop
It simply returns a 404.
The text was updated successfully, but these errors were encountered:
toddpadwick
changed the title
Module doesn't work with uris containing query strings
Module fails to return a redirect, for URI's that contain query strings
Jan 31, 2022
Hi @toddpadwick, I've found an easy solution for this problem.
The field from is expecting a regex, so the problem is that ? will be interpret as a quantifier.
To fix the problem, you have to escape special characters with \
You should have something like that: { from: '/news\?filter_category=universities', to: '/loop' }
Query string rules do not work - such as:
/news/?filter_category=universities
=>/loop
It simply returns a 404.
The text was updated successfully, but these errors were encountered: