strict_parsing parameter in forms handling.
-------------------------------------------
Key: MODPYTHON-163
URL: http://issues.apache.org/jira/browse/MODPYTHON-163
Project: mod_python
Type: Task
Components: core
Versions: 3.2.8
Reporter: Graham Dumpleton
Priority: Minor
The util.FieldStorage class, plus parse_qs and parse_qsl functions take a
parameter called strict_parsing. All the documentation says is:
The \var{strict_parsing} argument is not yet implemented.
Ie., it doesn't even say what it is meant to be for.
The closest I could find as to what it may be for is from Python
cgi.FieldStorage documentation:
strict_parsing: flag indicating what to do with parsing errors.
If false (the default), errors are silently ignored.
If true, errors raise a ValueError exception.
I don't know though what constitutes an error though.
This argument has been there back from mod_python 2.X.
It needs to be investigated as to what the option is meant to do and if it is
worthwhile it should be implemented or the parameter removed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira