1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/b914c26a33fe/ Changeset: b914c26a33fe User: natefoo Date: 2013-09-26 14:40:02 Summary: Handle unicode args passed to display_at. Affected #: 1 file
diff -r 51760f44ba6d8994c5f46b26f77c9c3a7708b802 -r b914c26a33fe17e3e43115b2fa37bd3888d91399 lib/galaxy/webapps/galaxy/controllers/dataset.py --- a/lib/galaxy/webapps/galaxy/controllers/dataset.py +++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py @@ -705,9 +705,10 @@ if 'display_url' not in kwd or 'redirect_url' not in kwd: return trans.show_error_message( 'Invalid parameters specified for "display at" link, please contact a Galaxy administrator' ) try: - redirect_url = kwd['redirect_url'] % urllib.quote_plus( kwd['display_url'] ) + redirect_url = kwd['redirect_url'] % urllib.quote_plus( kwd['display_url'] ) except: - redirect_url = kwd['redirect_url'] # not all will need custom text + redirect_url = kwd['redirect_url'] # not all will need custom text + redirect_url = redirect_url.encode( 'utf-8' ) current_user_roles = trans.get_current_user_roles() if trans.app.security_agent.dataset_is_public( data.dataset ): return trans.response.send_redirect( redirect_url ) # anon access already permitted by rbac
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
galaxy-commits@lists.galaxyproject.org