Skip to content

Export does not return full filename if the filename contains a backslash #1632

Description

@sparkhi

Rare but possible. Does not affect Windows.

On a linux OS, you can have a file with backslash in the filename. e.g. file\with\backslash.txt. If such file is present in the DROID export, the FILE_NAME column reports the name from the last backslash only (e.g. in above case backslash.txt). The full path is correct.

This bug is caused because we use FilenameUtils of apache-commons to get the file name, however comments on https://issues.apache.org/jira/browse/IO-890 indicate that the behaviour is intended, so we may need to fix this bug in DROID by not using the FilenameUtils for getting the file name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions