Closed
Bug 326674
Opened 20 years ago
Closed 20 years ago
Punctuation marks/other characters influence sorting of extensions
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0
People
(Reporter: jwkbugzilla, Assigned: morgamic)
References
()
Details
Attachments
(1 file)
|
1.35 KB,
patch
|
mconnor
:
first-review+
|
Details | Diff | Splinter Review |
See URL above - Adblock Plus and Diigo Toolbar are shown first in the list because there is a space before the extension name. I think leading spaces should be stripped from the extension's name.
| Assignee | ||
Comment 1•20 years ago
|
||
Simple patch. Really simple.
Attachment #211386 -
Flags: first-review?
| Assignee | ||
Updated•20 years ago
|
Attachment #211386 -
Flags: first-review? → first-review?(mconnor)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Updated•20 years ago
|
Attachment #211386 -
Flags: first-review?(mconnor) → first-review+
| Reporter | ||
Comment 2•20 years ago
|
||
Ehm... This is a simple patch, all right, but... Do you know that using functions in ORDER BY throws away all optimization the database can give you? Maybe you should consider doing TRIM() on the extension name when it entered into the database...
I agree that we need to keep our DB clean.
Severity: major → normal
Target Milestone: 1.0 → 2.0
| Assignee | ||
Comment 4•20 years ago
|
||
Yeah, I realize that, but we can't just change the database because it would cause name comparisons to fail unexpectedly.
additem.php should probably run a preg_match() on the extension name when the install.rdf is uploaded for the first time, before it creates the entry in main.
If it starts with \s then reject the name.
On another note, I wouldn't be opposed to messing up the extensions starting with a space, as they did this intentionally to bolster their position in search results. Maybe that would be prudent.
| Reporter | ||
Comment 5•20 years ago
|
||
Just in case: my install.rdf doesn't have any spaces before the extension name (and even if it did - they should be ignored). I simply went to "Edit Adblock Plus" and added them.
| Assignee | ||
Comment 6•20 years ago
|
||
Should be fixed shortly, pending a cvs update in bug 328693.
| Assignee | ||
Comment 7•20 years ago
|
||
This should be fixed in production. Please verify.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•20 years ago
|
||
Confirming - fixed. Leading spaces are still in the database, but they are ignored for sorting.
Author of wizz RSS seems to be being a bit sneaky.
https://addons.mozilla.org/extensions/showlist.php?application=firefox&numpg=10&category=All
"!Wizz RSS News Reader"
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Spaces influence sorting of extensions → Punctuation marks/other characters influence sorting of extensions
| Assignee | ||
Comment 10•20 years ago
|
||
Great... wouldn't it be great if all extensions were:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Wizz Newsreader
This pretty much just pisses me off. I'll talk to them.
After that, I'll consider tightening allowed names in additem.php so people can't take advantage of this BS.
Thanks for the heads-up.
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 11•20 years ago
|
||
This isn't an issue anymore (haven't heard complaints, plus the sorting should have been adjusted in v2).
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 12•20 years ago
|
||
AMO BUGSPAM FOR COMPONENT MOVE AND DELETE (FILTER ME)
Component: Listings → Web Site
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•