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.
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 whenconstructing the query. I tested that this works.
Signed-off-by: Adam Williamson awilliam@redhat.com