#2198 closed defect (bug) (fixed)
Upload browser chokes on apostrophes in titles
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 2.0 |
Component: | Administration | Keywords: | upload image encoding |
Focuses: | Cc: |
Description
If you upload an image in WordPress 2.0 and use an apostrophe in the title, it results in broken Javascript that prevents the pop-up menu from appearing in the browse tab. This is because the JS code uses single quotes to avoid escaping double quotes in the HTML tags... but apparently doesn't bother to escape any single quotes that might appear in an attribute value (in this case ALT).
Workarounds: 1. Manually edit the apostrophe out of the database. 2. Disable JavaScript for all future posts until the image rolls off the first page of uploads.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [3398]) Handle quotes in upload titles. fixes #2198