Edgewall Software

Opened 20 years ago

Last modified 20 years ago

#837 closed defect

ModPython breaks with trailing slash in PythonOption TracUriRoot — at Version 1

Reported by: jason.morgan@… 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 (last modified by Christopher Lenz)

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.

Change History (1)

comment:1 by Christopher Lenz, 20 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.