[Webkit-unassigned] [Bug 238668] New: Adding ".stl" files to a <input type=file> transforms it into ".bmp"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 1 09:55:28 PDT 2022


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

            Bug ID: 238668
           Summary: Adding ".stl" files to a <input type=file> transforms
                    it into ".bmp"
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sunny at sunfox.org
                CC: cdumez at apple.com, wenson_hsieh at apple.com

If a file input has an "accept" attribute with both ".stl" and ".bmp" file extensions (whatever the order):

    <input type="file" accept=".stl,.bmp">

Then, when selecting a file called "my-file.stl", it shows up as a "tempImageiHA7wr.bmp" instead.

- Input to test here: https://dev.sunfox.org/safari-stl/
- STL example file: https://dev.sunfox.org/safari-stl/cults-logo.stl

-- 
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/20220401/392fe69e/attachment.htm>


More information about the webkit-unassigned mailing list