WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#22403 new defect (bug)

Prevent default browser behavior with Plupload disallowed file extensions

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

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 @kovshenin2 years ago

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