In case of proxy-prefix configuration the $PATH_TO_IMAGES is not correctly converted. Removing the beginning Slash solves it for proxy-prefix configurations and other are not affected.

This commit is contained in:
Bjoern Gruening
2014-01-21 15:42:35 +01:00
parent 926552d217
commit 331a182079
+1 -1
View File
@@ -1712,7 +1712,7 @@ def set_image_paths( app, encoded_repository_id, text ):
"""
if text:
if app.name == 'galaxy':
route_to_images = '/admin_toolshed/static/images/%s' % encoded_repository_id
route_to_images = 'admin_toolshed/static/images/%s' % encoded_repository_id
else:
# We're in the tool shed.
route_to_images = '/repository/static/images/%s' % encoded_repository_id