#225 Root-mounted instance has invalid openid base redirect
Closed: Fixed None Opened 6 years ago by puiterwijk.

If the instance is mounted on the web root (/), the openid redirect to the root (raise cherrypy.HTTPRedirect(self.basepath)) does not work and redirects to the /openid endpoint again, resulting in an endless redirect.

We should either change that line to use "self.basepath or '/'" or set basepath to '/'.

Another idea brought out was to use posixpath.join() everywhere instead of manually glueing strings together, as that would be more stable with regards to preventing double slashes and more.

This has been merged with f28a28c.

resolution: => fixed
status: accepted => closed

Metadata Update from @puiterwijk:
- Issue assigned to puiterwijk
- Issue set to the milestone: 1.3

6 years ago

Login to comment on this ticket.