[wp-trac] [WordPress Trac] #16191: Uploaded files with quote marks in the filename are undisplayable in MS
WordPress Trac
noreply at wordpress.org
Thu Jul 11 07:48:03 UTC 2019
#16191: Uploaded files with quote marks in the filename are undisplayable in MS
-------------------------------------------------+-------------------------
Reporter: simonwheatley | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future
| Release
Component: Upload | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses:
testing good-first-bug |
-------------------------------------------------+-------------------------
Comment (by donmhico):
This is my first time to be involved so please be patient and guide me
through. @desrosj
I wasn't able to replicate the problem but I noticed something when
testing on different browsers.
I'm on macOS Mojave (10.14.5)
What I did: Uploaded an image with the name **"512x512_RED."png** via the
Media Uploader and inside Gutenberg editor.
**Browser:** Google Chrome
**Results:**
**File was uploaded with filename** - 22512x512_RED.22png.png
**Post title** - 512x512_RED.png
**post_meta_key (_wp_attached_file)** - 22512x512_RED.22png.png
Renders properly inside a post.
**Browser:** Firefox
**Results:**
**File was uploaded with filename** - 512x512_RED.png.png
**Post title** - "512x512_RED."png
**post_meta_key (_wp_attached_file)** - 512x512_RED.png.png
Renders properly inside a post.
**Browser:** Microsoft Edge (Dev build for Mac)
**Results:**
**File was uploaded with filename** - 22512x512_RED.22png-2.png
**Post title** - 512x512_RED.png
**post_meta_key (_wp_attached_file)** - 22512x512_RED.22png-2.png
Renders properly inside a post.
**Browser:** Safari
**Results:**
**File was uploaded with filename** - 22512x512_RED.22png-4.png
**Post title** - 512x512_RED.png
**post_meta_key (_wp_attached_file)** - 22512x512_RED.22png-4.png
Renders properly inside a post.
How it saves in Firefox is different than the rest of the browsers. I'm
not sure if it's something critical. But nonetheless, the image with
double quotes in filename displays properly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16191#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list