More problems found with the JSONP stuff (which will be used by bodhi2 some day).
Take these two URLs, for instance:
- https://taskotron.stg.fedoraproject.org/resultsdb_api/api/v1.0/results?item=groonga-4.0.5-1.fc21
- https://taskotron.stg.fedoraproject.org/resultsdb_api/api/v1.0/results?item=groonga-4.0.5-1.fc21?callback=wat
The first one works as expected The second one gets the jsonp format
correctly wrapped around it, but the 'callback' argument is retained and is
gumming up the normal results processing in api_v1.py.
This patch strips it out of the flask.request.args werkzeug MultiDict.