Skip to content

path check bypassed by unresolved path #4

@gphg

Description

@gphg

The existing code has counter measurement:

  • If input is equal to output, then stop processing (raise an error)

That is basically prevents the input to be replaced by the output: file corruption and data loss.

However, it can be passed if the path is unresolved OR has ./ on it. This is likely to happen if the input file is a webm video and no output to be specified.

Current solution (not a fix):

  • ALWAYS set the output if the input is a webm video AND on same current working directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions