Homec4science

base: fix for wsgi PATH_INFO handling

Authored by kuncar on Jun 16 2014, 11:29.

Description

base: fix for wsgi PATH_INFO handling

  • Addresses issue with url encoded arguments in Flask routes. E.g. for route /collection/<name> the view argument name was not unescaped when accessed by /collection/Books%20%26%20Reports on Apache and this led to error during lookup in database. (closes #1823)

Reported-by: Petr Broz <petr.broz@gmail.com>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
kuncarJun 16 2014, 11:44
Parents
R3600:201f66453c38: base: PEP8 and PEP257 clean-up in factory
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:8556173c031d: base: fix for wsgi PATH_INFO handling (authored by Jiri Kuncar <jiri.kuncar@cern.ch>).Jun 16 2014, 11:44