1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c68aa8a8e769/ Changeset: c68aa8a8e769 Branch: stable User: dan Date: 2014-06-03 23:03:17 Summary: Fix for Safari Caching External View application 302 redirect links. See https://trello.com/c/optldnPm Affected #: 1 file diff -r f9c050410d6a56d7f6fe503b4f22f286bd5a40e2 -r c68aa8a8e769437473bd23586d1b55fc66cc8c47 lib/galaxy/webapps/galaxy/controllers/dataset.py --- a/lib/galaxy/webapps/galaxy/controllers/dataset.py +++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py @@ -738,6 +738,8 @@ return rval elif app_action == None: #redirect user to url generated by display link + #Fix for Safari caching display links, which can change if the underlying dataset has an attribute change, e.g. name, metadata, etc + trans.response.headers[ 'Cache-Control' ] = [ 'no-cache', 'max-age=0', 'no-store', 'must-revalidate' ] return trans.response.send_redirect( display_link.display_url() ) else: msg.append( ( 'Invalid action provided: %s' % app_action, 'error' ) ) 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.