I have an odd question.  When I have a path parameter that is validated to 
be alphanumeric, and a security scanner sends a non-alphanumeric value, 
Django properly validates and then returns 404.   However, this gives the 
security scanner the mistaken impression that there is some some sort of 
security problem (it isn't very smart).

Is there an option I can give to Django to say that if an URL pattern 
matches but the path parameter does not match, it should return a different 
sort of 400 error?

Thanks,

-Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/133b7cb9-b5fc-4758-9a98-595d99cce9dfo%40googlegroups.com.

Reply via email to