1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-05 10:58:07 +01:00
Marcus Huewe 33bbc57b5f Fix the previously introduced escaping via the html module
This is a follow-up commit for commit
6dbf103e1030494381c2fbb384f9648a78b68ce6 ("Use html.escape instead
removed cgi.escape"), which breaks the python2 backward compatibility
(since the "html" module is not available by default) and also breaks
the code in general (due to missing html imports).

The fix is based on the proposed fix in [1].

Fixes: boo#1166537 ("osc rq accept - forwarding request causes backtrace")

[1] https://github.com/openSUSE/osc/pull/764
2020-03-12 23:00:47 +01:00
..
2019-01-15 17:18:50 +01:00