Skip to content

Is it necessary to SanitizeFilename()? #118

Open
@pavantc

Description

@pavantc

I am trying to use dataplaneapi to manage haproxy config. During a recent exercise, there was a case where dealing with filenames with certain characters (+ and . other than the one for file extension) hit some unexpected errors. The issue boiled down to the fact that client-native sanitizes the filename.

Is it necessary to sanitize it? I tried looking at the git history but couldn't find much on why the change was introduced.

Any inputs here would be appreciated! Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions