Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
654
stars
123
forks
source link
Bad Request error when url's parameters contain "%" using regex #635
On this route i got an Bad Request error when the apikey parameter contains '%' like
/addon/communitymap/bjV%3DN3n2e4nu
.I would like the parameter to accept letters, numbers and these symbols
%
@
_
-
The regex works for any other symbol rather than
%
In summary:
This works:
/addon/communitymap/bjVQ@XlSUkBhZmM
This don't work:
/addon/communitymap/bjVQ@XlSUkBh%ZmM
/addon/communitymap/bjVQ%XlSUkBh%ZmM