#13 In the fallback existing bug check, regex escape the change name
Merged by amoloney. Opened by adamwill.
fedora-pgm/ adamwill/pgm_scripts regex-escape-desc  into  main

Download 13.patch

We had a case where this fallback should have worked but didn't,
for the change "SPDX License Phase 4 (The last one)". The
problem of course is that the change name has parentheses in it,
and we're doing a regex search. The parentheses are being
interpreted as regex syntax.

Let's fix this by running re.escape() on the change name when
constructing the query. I tested that this works.

Signed-off-by: Adam Williamson awilliam@redhat.com

Pull-Request has been merged by amoloney

Metadata