Escape issue search string

Fixes #25779.