Closed
Bug 1411225
Opened 7 years ago
Closed 7 years ago
nbsp are now ignored in search queries
Categories
(Webtools Graveyard :: Pontoon, defect, P2)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: theo, Assigned: adrian)
Details
(Keywords: regression)
Attachments
(1 file)
I used to be able to search for nbsp characters, but it seems they are now ignored in search queries.
For instance this one should return no result (there is no occurrence of "nbsp+z"), but it returns all the occurrences for z: https://pontoon.mozilla.org/fr/mozillaorg/all-resources/?search=%C2%A0z
Comment 1•7 years ago
|
||
It seems like form.cleaned_data strips leading and trailing whitespace.
Looks like a regression:
https://github.com/mozilla/pontoon/commit/c9f82f4a914f09d68b6ce8664c66016dbf1a3e87
Priority: -- → P2
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → adrian
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/e4749e0591a03e45d47ceb1096d8519ca526aab2
Fix bug 1411225 - Accept white spaces in search for entities. (#742)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•