Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of unsafe filenames #352

Merged
merged 4 commits into from
Jul 29, 2024

Commits on Jul 16, 2024

  1. Better handling of unsafe filenames

    See deshaw#346,
    
    The handling of unsafe Filenames is a bit weird as the safety is checked
    a bit too late in my opinion, and checked before the path is fully
    resolved.
    
    This tries to change this a bit by eing stricter on checking for
    safeness, and refactor the caching of import db to use Pathlib (which
    did not exists when FIlename was crreated).
    
    This is still a bit more complicated than it should and might need some
    cleanup later on.
    
    There is also a buch of "deprecated" code in a if True in this area,
    that would need propoer deprecation.
    Carreau committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7272bdb View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. add test

    Carreau committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c5ddb8a View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. fix tests

    Carreau committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    a9eed84 View commit details
    Browse the repository at this point in the history
  2. fix lint

    Carreau committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    3f912f9 View commit details
    Browse the repository at this point in the history