#4371 When calling flask.abort() specify the description
Merged by pingou. Opened by pingou.
abort_description  into  master

Download 4371.patch

In the most recent release of werkzeug (0.15.0) some changes around the
handling of 401 exceptions has changed the order of the arguments.
Thus making 'flask.abort(401, "something")' not considering "something"
to be the description of the exception.
With this commit we specify in all calls to flask.abort() what is the
description of the error.
This way, there is no longer any confusion for flask or werkzeug as to
what we want the description to be.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto ca1f2dfe44d8e8c6698aab6e2a6eed440129c6a7

pretty please pagure-ci rebuild

rebased onto 86c1db00382beb503eef5acdf67ad4eaf00418b6

rebased onto 9632290674564526ebde9d45ae06389697ef8a11

rebased onto c6cc5cd319d96ad5d807228efb6eb4dbd0b2177d

pretty please pagure-ci rebuild

:thumbsup:

Thanks! :)

Pull-Request has been merged by pingou

Metadata