Use full path when constructing "Other authentication methods"
authorRob Crittenden <rcritten@redhat.com>
Thu, 6 Aug 2015 15:12:16 +0000 (15:12 +0000)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 11 Aug 2015 10:10:50 +0000 (12:10 +0200)
commita69505f662aadfd38c31ebadab18e1beccc1b95c
tree865bfe0e5aaf17a9b535a372313cda651ea67795
parentce2bbec3f2a010cfa26363a91a6224efe484f06f
Use full path when constructing "Other authentication methods"

It was previously providing just a relative path and if the paths
overlapped I guess the browser was trying to smash them together.

This would result in a double "gssapi" in the gssapi URL like:

https://my.ipsilon.org/idp/login/gssapi/gssapi/negotiate?ips...

Don't rely on the browser to get the path right, use self.basepath.

https://fedorahosted.org/ipsilon/ticket/153

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
ipsilon/login/common.py