[Answered ]-Django URL regex matches correctly with GET but not POST

2👍

In your regex, [^, ] is matching any character except commas and spaces, including forward slashes.

To exclude forward slashes, change it to [^,/ ]. Alternatively, something like [-\w] + might be appropriate.

Leave a comment