Menu

Commit [r10609]  Maximize  Restore  History

web: cope with mod_wsgi collapsing multiple "/" in PATH_INFO.

This collapsing doesn't happen with SCRIPT_URL, hence the determination of SCRIPT_NAME from SCRIPT_URL and PATH_INFO needs to be fixed.

A less severe but similar issue can be observed with the "autoexpansion" feature, when we compare the browser `window.location.pathname` (multiple "/"s when browsing within the default repository) with the generated href ("/" collapsed).

Part of #10048.

cboos 2011-02-27

changed /branches/0.12-stable/trac/htdocs/js/expand_dir.js
changed /branches/0.12-stable/trac/web/main.py
/branches/0.12-stable/trac/htdocs/js/expand_dir.js Diff Switch to side-by-side view
Loading...
/branches/0.12-stable/trac/web/main.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB