Opened 20 years ago
Last modified 20 years ago
#837 closed defect
ModPython breaks with trailing slash in PythonOption TracUriRoot — at Initial Version
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.7.1 |
Severity: | major | Keywords: | apache |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
ModPython breaks with trailing slash in PythonOption TracUriRoot="xyz". On Apache Windows platform
Note examples don't use quotes round PythonOption parameters, though omitting them breaks Apache.
The parsing in the trac.ModPythonHandler copies the quote (") into the directory path, thus breaking the web server.
printing the path in send_project_index() proves this.
Note:
See TracTickets
for help on using tickets.