1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e061edf06175/ Changeset: e061edf06175 User: carlfeberhard Date: 2013-04-05 23:02:07 Summary: controllers/root.default: have default return the same message as a 404 (HTTPNotFound) Affected #: 1 file diff -r 438028ac0148d64f4b3f26e0137d443ac2df41f2 -r e061edf06175b8e2557f8dd286ff97f8e2e59d02 lib/galaxy/webapps/galaxy/controllers/root.py --- a/lib/galaxy/webapps/galaxy/controllers/root.py +++ b/lib/galaxy/webapps/galaxy/controllers/root.py @@ -5,6 +5,8 @@ import urllib import cgi +from paste.httpexceptions import HTTPNotFound + from galaxy.web.base.controller import BaseUIController, UsesHistoryMixin, UsesHistoryDatasetAssociationMixin from galaxy.model.item_attrs import UsesAnnotations from galaxy import util, web @@ -21,7 +23,7 @@ def default(self, trans, target1=None, target2=None, **kwd): """Called on any url that does not match a controller method. """ - return 'This link may not be followed from within Galaxy.' + raise HTTPNotFound( 'This link may not be followed from within Galaxy.' ) @web.expose def index(self, trans, id=None, tool_id=None, mode=None, workflow_id=None, m_c=None, m_a=None, **kwd): 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.