#21231: Limiting the number of variables and files that a POST request can
contain
-------------------------------+--------------------------------------
Reporter: epandurski@… | Owner: nobody
Type: New feature | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by epandurski@…):
"I totally understand that Apache usually is not expected to the deep-
request-inspection but at the least the application server should be able
to do that."
The application server may serve lots of web applications, each one
needing a different validation policy. Only the web application knows what
it does with the input data, and therefore only the application (or the
application framework) is in a position to correctly validate the input.
I agree that it is good idea to do input validation as early as possible,
and be as isolated as possible from the rest. I do not see, however, where
else this functionality can be inserted in the Django framework. I do not
think it can be implemented as Django middleware. Suggestions?
--
Ticket URL: <https://code.djangoproject.com/ticket/21231#comment:14>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/078.0c8f7130d47a18311f35e5865a1cabfe%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.