Ticket #543 (defect)
Opened 2 years ago
Last modified 2 years ago
virtualhostfilter.py generates URIs with a double slash
Status: closed (fixed)
| Reported by: | ricardo | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | CherryPy code | Keywords: | virtualhostfilter |
| Cc: |
I'm running multiple domains from the same cherrypy 2.2.1 server, mapping each domain to an object one step below the root. With virtual_host_filter on, requests for the home page of any virtual domain was successful. But requests for anything below the home page of a virtual domain generated URIs with a double slash after the host name, resulting of course in a 404 error. All these problems went away if I simply removed the "+ '/' " portion of the final line of virtualhostfilter.py.
Change History
08/12/06 03:39:12: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.


Fixed for CP3 in [1102]. Fixed for CP 2.2 in [1241].