This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
Reported directory path (qqpath) is wrong if file name occurs in one of the parent directory names #1976
Closed
Description
Type of issue
- Bug report
- Feature request
Uploader type
- Traditional
- S3
- Azure
Bug Report
Fine Uploader version
5.15.6
Browsers where the bug is reproducible
Chrome 64.0.3282.167, FF 58.0.2, Edge 41.16299.248.0
Operating systems where the bug is reproducible
Windows 10
Exact steps required to reproduce the issue
- Setup Fine Uploader UI with dragAndDrop.reportDirectoryPaths set to true.
- Prepare a directory with files on the local filesystem where one of the file names appears in a directory name. For example, create directory named "data" containing a file named "data".
- Drop the directory onto Fine Uploader.
- Observe that qqpath is incorrect or missing from the data passed to the backend. In the data/data example, qqpath parameter will not be present in the request altogether.
All relevant Fine Uploader-related code that you have written
var uploader = new qq.FineUploader({
element: document.getElementById("uploader"),
multiple: true,
dragAndDrop: {
reportDirectoryPaths: true
}
})
Metadata
Metadata
Assignees
Labels
No labels