commit/galaxy-central: dannon: Workflows: Same fix as previous, but for rename_async...

1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/f516ee9ce331/ changeset: f516ee9ce331 user: dannon date: 2011-08-03 08:09:42 summary: Workflows: Same fix as previous, but for rename_async... affected #: 1 file (112 bytes) --- a/lib/galaxy/web/controllers/workflow.py Wed Aug 03 02:02:54 2011 -0400 +++ b/lib/galaxy/web/controllers/workflow.py Wed Aug 03 02:09:42 2011 -0400 @@ -400,7 +400,9 @@ def rename_async( self, trans, id, new_name=None, **kwargs ): stored = self.get_stored_workflow( trans, id ) if new_name: - stored.name = new_name + san_new_name = sanitize_html( new_name ) + stored.name = san_new_name + stored.latest_workflow.name = san_new_name trans.sa_session.flush() return stored.name 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.
participants (1)
-
Bitbucket