Steps to reproduce:
- Create a lens with this allowlist:
collinsdictionary.com/dictionary/english/, something.com
- Search for
pomodoro
with this lens.
The results include pages at collinsdictionary.com/dictionary/english-italian/
.
Expected behavior:
The only pages at collinsdictionary.com should be within collinsdictionary.com/dictionary/english/
.
Findings:
- The bug does not occur when the URL is the only item in the list.
- The bug can be worked around by adding a wildcard to the end:
collinsdictionary.com/dictionary/english/*
Conclusion:
This seems to happen due to the splitting of listed URLs — it's removing the final slash in addition to the comma and space.