Skip to content
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
@ogvolkov

Description

@ogvolkov

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

  1. Setup Fine Uploader UI with dragAndDrop.reportDirectoryPaths set to true.
  2. 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".
  3. Drop the directory onto Fine Uploader.
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions