From 0ff2c2139de9592b34e9dcad06117149b4d5e9f0 Mon Sep 17 00:00:00 2001 From: Carl Eberhard Date: Thu, 22 Jan 2015 18:55:37 -0500 Subject: [PATCH] Fix bootstrapped user data to use proper escaping (crap...) and allow history/hda tag to autocomplete again --- templates/galaxy_client_app.mako | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/galaxy_client_app.mako b/templates/galaxy_client_app.mako index c259b78be6f..0b5d19bda1a 100644 --- a/templates/galaxy_client_app.mako +++ b/templates/galaxy_client_app.mako @@ -83,7 +83,7 @@ ${ h.dumps( get_config_dict() )} users_api_controller = trans.webapp.api_controllers[ 'users' ] tags_used = [] for tag in users_api_controller.get_user_tags_used( trans, user=trans.user ): - tag = tag | h + tag = escape( tag ) if tag: tags_used.append( tag ) user_dict[ 'tags_used' ] = tags_used @@ -106,6 +106,8 @@ ${ h.dumps( get_config_dict() )} except Exception, exc: pass + #TODO: no logging available? + #log.exception( exc ) return user_dict %>