WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#22403 new defect (bug)

Prevent default browser behavior with Plupload disallowed file extensions

Reported by: nacin Owned by:
Priority: low Milestone: Future Release
Component: Upload Version: 3.3
Severity: minor Keywords:
Cc: kovshenin

Description

See #22149. When Plupload is set to accept only certain file types, the drag event falls back to the browser's default behavior. That means HTML files replace the entire viewport, ZIP files get re-downloaded, etc. Ideally, our own handlers intercept such a drag event and prevents anything else from happening.

Change History (1)

comment:1 kovshenin7 months ago

  • Cc kovshenin added
Note: See TracTickets for help on using tickets.