commit/galaxy-central: natefoo: Detect nginx upload injected params in the API tool runner.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/74202eb63f37/ Changeset: 74202eb63f37 User: natefoo Date: 2013-11-15 20:15:00 Summary: Detect nginx upload injected params in the API tool runner. Affected #: 1 file diff -r 67a956d27f6ec30b4c12d4aaa99a0e2a9249291c -r 74202eb63f37ad49e413c7bcda9d54be881469b9 lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -95,7 +95,7 @@ inputs = payload.get( 'inputs', {} ) # Find files coming in as multipart file data and add to inputs. for k, v in payload.iteritems(): - if k.startswith("files_"): + if k.startswith("files_") or k.startswith("__files_"): inputs[k] = v #for inputs that are coming from the Library, copy them into the history 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)
-
commits-noreply@bitbucket.org