guardian / riff-raff

The Guardian's deployment platform
Apache License 2.0
267 stars 18 forks source link

Filtering by project name containing parentheses returns no results #414

Open rtyley opened 7 years ago

rtyley commented 7 years ago

The CAS proxy has this project name: MemSub::Subscriptions::Content Authorisation Proxy (CAS-Proxy) - it contains parentheses, and this seems to stop the projectName filter from working:

Searching for MemSub::Subscriptions::Content Authorisation Proxy (CAS-Proxy):

image

...but if we trim off the part of the search term with parentheses, we get results:

Searching for MemSub::Subscriptions::Content Authorisation Proxy:

image

sihil commented 7 years ago

Thanks for raising this - I think it is due to it being used inside a regex when we actually query the database. I would expect this to be a fairly simple fix.