Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-232

PHP mhash module causes problems with Python md5 module.

    XMLWordPrintableJSON

    Details

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

      Description

      The Python md5 module is used in Session/Cookie code and also in the new module importer of mod_python 3.3.1.

      For some PHP installations where PHP mhash module is being loaded, there is some sort of conflict between the two md5 hash libraries. This can result in mod_python code which relies on md5 module to not work properly.

      To avoid this problem, suggest that Apache APR md5 routines being exposed through the _apache module and mod_python use that whereever md5 hashes required. This way operation of mod_python at least will not be comprised, although it will not help with higher level application such as Django which access md5 module themselves.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: