Make WordPress Core

Opened 3 days ago

Last modified 18 hours ago

#66125 assigned defect (bug)

Upload file with double-quote in filename

Reported by: sgastard Owned by: sgastard
Priority: normal Milestone: Awaiting Review
Component: Upload Version: 7.1
Severity: normal Keywords: has-patch needs-unit-tests
Cc: Focuses:

Description

Uploading a file like "test".png results in a filename like 22test22.png on the server and a matching URL. The file remains accessible.

Attachments (1)

Capture d’écran 2026-09-17 à 11.53.16.png (42.4 KB ) - added by sgastard 3 days ago.

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in PR #13574 on WordPress/wordpress-develop by @sgastard.


3 days ago
#1

  • Keywords has-patch added

Opened from the WordPress Contributor Toolkit.

This ticket was mentioned in PR #13575 on WordPress/wordpress-develop by @sgastard.


3 days ago
#2

Opened from the WordPress Contributor Toolkit.

#3 @sgastard
3 days ago

  • Keywords has-patch removed
  • Owner set to sgastard
  • Status newassigned

This ticket was mentioned in PR #13579 on WordPress/wordpress-develop by @sgastard.


3 days ago
#4

  • Keywords has-patch added

Clean filename of uploaded file when the name contains quote (")

#5 @westonruter
18 hours ago

  • Keywords needs-unit-tests added
Note: See TracTickets for help on using tickets.