Closed Bug 281076 Opened 20 years ago Closed 20 years ago

backslashes from database displayed in extension description

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alimadzi, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111 Firefox/1.0+

Any extension description containing an apostrophe (e.g. Google Pagerank Status,
Knowledge Fractal, etc.) displays a backslash before the apostrophe (e.g.
"...your browser\'s status bar.").  Backslashes should be removed before display
using a PHP function such as stripslashes.

Reproducible: Always

Steps to Reproduce:
After further review, I noticed that most apostrophes are not backslashed (e.g.
FastDic, Farkit, Hotmail Tabs, JavaScript Debugger, etc.).  The affected
descriptions (e.g. Google Pagerank Status) may have triple backslashes in the
database.  Running stripslashes on \\\' would result in \' being displayed. 
Actual bug is therefore probably in the submission form component.
Severity: trivial → minor
Component: Listings → Developers
Google Pagerank Status, Knowledge Fractal, and SmartSearch have been fixed.  It
was only a single backslash.
Assignee: nobody → Bugzilla-alanjstrBugs
Status: UNCONFIRMED → NEW
Ever confirmed: true
You may need to hold down shift when you reload to force the squid cache to refresh.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.