Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337481

File API: file.name contains path instead of name

XMLWordPrintable

    • web
    • b08

        When a file is selected in HTML file input field, the resulting File-Object contains a path with file.name instead of only the file name.

        A HTML sample is attached.

        Last working versions:
        17.0.2
        18
        First failing versions:
        17.0.6, 17.0.3-17.0.5 are not available in maven central.
        18.0.1

          1. fileupload.html
            0.7 kB
            Oliver Schmidtmer

              oschmidtmer Oliver Schmidtmer
              oschmidtmer Oliver Schmidtmer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: