Skip to content

Upload filename and path #3

@mems

Description

@mems
  • Chrome (+mobile): retains the uploaded filename, but replaces the path to the file with the string C:\fakepath\
  • Firefox 53+: retains the uploaded filename, but replaces the path to the file with the string C:\fakepath\
  • Firefox (+mobile): retains the uploaded filename, but does not provide any path to the filename
  • IE ?-9: the full path to the file is provided. If the file is located under the user's home directory, then the path includes the user's account name.
  • IE 10: retains the uploaded filename. No path information is provided
  • Safari: retains the uploaded filename, but replaces the path to the file with the string C:\fakepath\
  • Mobile Safari: does not provide the source file's name to the web server. Instead, the browser tells the server that all uploaded files are named image.jpg or image.png (based on the file format)

Source:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions