Issue #543 resolved

virtualhostfilter.py generates URIs with a double slash

ricardo
created an issue

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.

Comments (2)

  1. Log in to comment