Homec4science

BatchUploader: do not wash file with wash_urlargd()

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Sep 21 2011, 07:09.

Description

BatchUploader: do not wash file with wash_urlargd()

  • When receiving a file input in metasubmit() and robotupload(), do not use wash_urlargd() to wash the file parameter as it would either be a StringField or a Field, depending on the provision of a filename by the client (as implemented in webinterface_handler_wsgi_utils.FieldStorage).

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Sep 26 2011, 15:33
Parents
R3600:faff22d14fa6: InvenioConnector: use Invenio user agent
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:93547689af98: BatchUploader: do not wash file with wash_urlargd() (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Sep 26 2011, 15:33