[wp-trac] [WordPress Trac] #64617: Media Uploader: Incorrect fallback error message when filename contains special characters (apostrophes)
WordPress Trac
noreply at wordpress.org
Thu Feb 12 01:39:26 UTC 2026
#64617: Media Uploader: Incorrect fallback error message when filename contains
special characters (apostrophes)
--------------------------+--------------------------------
Reporter: sflwa | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.9.1
Severity: normal | Resolution:
Keywords: | Focuses: ui, accessibility
--------------------------+--------------------------------
Comment (by sflwa):
@hbhalodia -
Upon checking with LiquidWeb they identified that the file triggered a
ModSecurity block and I guess based on how it failed it caused the server
timeout error.
I guess my follow-up question to the ticket / WP is.... Is there a way to
detect how/what fail happened and adjust the error message.
At least with a PDF you get
Unexpected response from the server. The file may have been uploaded
successfully. Check in the Media Library or reload the page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64617#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list