[Webkit-unassigned] [Bug 218951] New: File picker will let you pick another video file when you form only accepts video/mp4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 14 20:22:31 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=218951

            Bug ID: 218951
           Summary: File picker will let you pick another video file when
                    you form only accepts video/mp4
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: judewilson2024 at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 414151

  --> https://bugs.webkit.org/attachment.cgi?id=414151&action=review

screen recording showing a demo on a local webserver

When a form specifies a specific video type, let's go with video/mp4 for this example, the macOS file picker will let you pick another type like video/mov, if you press the little play button on the file. 

I have submitted a bug to the macOS team through feedback but there is a possible workaround in webkit.

When you select a file, webkit could do another check to see if the file is allowed with the specified content type.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201115/f9cc0de5/attachment-0001.htm>


More information about the webkit-unassigned mailing list