mod_python
  1. mod_python
  2. MODPYTHON-163

strict_parsing parameter in forms handling.

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.8
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Activity

        Graham Dumpleton created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Graham Dumpleton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development