Prevent slash at end of the URL
Opened this issue · 2 comments
roberthallatt commented
Hi,
How would I prevent the following from being a valid URL:
http://www.cps.local/en/about-apropos/strategic-directions/////
My template route looks like this - 'about-apropos/?([-_a-zA-Z0-9]+)'
Is there something I'm missing or could this be a bug?
Thanks,
Rob
rsanchez commented
I think this would be best handled in your web server configuration, whether apache or nginx.
roberthallatt commented
Ok, thanks for getting back to me. That’s one of the options I have been studying.
Robert Hallatt
Full Stack Developer
Canadian Paediatric Society
(613) 526-9397 ext. 241
www.cps.ca<http://www.cps.ca>
On Feb 1, 2017, 10:04 AM -0500, Rob Sanchez <notifications@github.com>, wrote:
I think this would be best handled in your web server configuration, whether apache or nginx.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#42 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGxDY244JeDlC4VHK4KYzvphCImyeaULks5rYJ7IgaJpZM4LzLPA>.