Closed Bug 500978 Opened 12 years ago Closed 12 years ago
Download Manager treats search terms as regular expressions
The text entered in the DM search field is interpreted as a regular expression. That seems unintentional and may result in unexpected results, e.g. the preriod in ".foobar" won't look for a period but any character.
Attachment #385625 - Flags: review?(sdwilsh) → review+
Comment on attachment 385625 [details] [diff] [review] patch Can we get a test for this too please? Should be pretty easy to copy something from http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/downloads/tests/chrome/test_multiword_search.xul r=sdwilsh with a test
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Attachment #385625 - Flags: approval184.108.40.206? → approval220.127.116.11?
Comment on attachment 385625 [details] [diff] [review] patch a1912=beltzner please also check in the test
Attachment #385625 - Flags: approval18.104.22.168? → approval22.214.171.124+
Verified on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:126.96.36.199) Gecko/20090729 Firefox/3.5.2 In my profile I had downloaded a file "healthwellness.xls", in 3.5 searching for ".ness" would match that file, but 3.5.2 did not.
You need to log in before you can comment on or make changes to this bug.