mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Making sure only one slash in start of interactive tool entry point path
This commit is contained in:
@@ -319,8 +319,7 @@ class InteractiveToolManager:
|
||||
rval = f"/{rval}/{entry_point_prefix}/access/{entry_point_class}/{entry_point_encoded_id}/{entry_point.token}/"
|
||||
if entry_point.entry_url:
|
||||
rval = f"{rval.rstrip('/')}/{entry_point.entry_url.lstrip('/')}"
|
||||
if rval[0] != "/":
|
||||
rval = f"/{rval}"
|
||||
rval = '/' + rval.lstrip('/')
|
||||
return rval
|
||||
|
||||
def access_entry_point_target(self, trans, entry_point_id):
|
||||
|
||||
Reference in New Issue
Block a user