helmut2509 Posted July 26, 2017 Share Posted July 26, 2017 Hello, in one of my templates I use url segments. As allowed url segments I have: regex:[0-9]+ regex:[0-9]+/.*$ regex:[0-9]+/[^"]+ When I use an url with the second/third pattern, it works fine as long as there are only letters and digits. But when the url contains a '+' or '%' (urlencode!) I get a blank page. .../1234/abcd > works fine ../1234/abcd+5 > outputs a blank page. ../1234/abcd%5 > outputs message: Bad RequestYour browser sent a request that this server could not understand. any suggestions? EDIT: I just found this from Ryan: https://processwire.com/talk/topic/580-encrypted-urlsegment/ In addition to the expected forward slash to separate directories, ProcessWire only accepts these [ASCII] characters in it's URLs: abcdefghijklmnopqrstuvwxyz 0123456789 . - _ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now