mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 15:45:04 +08:00
Merge pull request #497 from dannon/release_15.05
SCRIPT_NAME can be empty or not in the environment at all. This reso…
This commit is contained in:
@@ -353,7 +353,7 @@ class Request( webob.Request ):
|
||||
|
||||
@lazy_property
|
||||
def path( self ):
|
||||
return self.environ['SCRIPT_NAME'] + self.environ['PATH_INFO']
|
||||
return self.environ.get('SCRIPT_NAME', '') + self.environ['PATH_INFO']
|
||||
|
||||
@lazy_property
|
||||
def browser_url( self ):
|
||||
|
||||
Reference in New Issue
Block a user