#2093 closed defect (bug) (fixed)
inline-uploading.php doesn't escape single quote
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | bg|has-patch |
| Cc: |
Description
After uploading an image with a single quote (in my case God's Gun) almost all functions fail due to a javascript error. This is due to when it creates the listing of the images, the single quote throws everything out of whack.
Attachments (1)
Change History (5)
comment:1
masquerade — 7 years ago
- Milestone set to 2.0
- Severity changed from normal to major
- Keywords bg|has-patch added; image upload removed
- Milestone changed from 2.0 to 2.0.1
- Owner changed from anonymous to ryan
- Priority changed from normal to high
- Severity changed from major to normal
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Single quotes are sometimes escaped in the filename, so we have no reliable way to preserve files with single quotes in the names. This patch removes single quotes from filenames.
Single quotes are still allowed in attachment titles.