Menu

#1692 Python3: /common Security Fixes: awardcatClass.py awardtypeClass.py install.py publisherClass.py

Approved
open
None
5
2026-02-27
2026-02-27
Al von Ruff
No

awardcatClass.py

  • Portability: raise-as-control-flow replaced. Two blocks in cgi2obj restructured.
  • Debug leftover removed. sys.stderr = sys.stdout in cgi2obj permanently redirected stderr to stdout for the entire process.

awardtypeClass.py

  • Portability: raise-as-control-flow replaced. Two blocks in cgi2obj restructured.
  • Unused import removed. (cgi)

install.py

  • Bug Fix: fd.close missing parentheses
  • Security: os.system replaced with os.chmod
  • Portability: bare except: narrowed
  • Unused import removed

publisherClass.py

  • NodeList compared against 0 in xml2obj
  • Portability: bare except: narrowed
  • Unused import removed

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB