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

Prevent Path Traversal #6390

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 11, 2024

  1. Prevent Path Traversal

    sanitizePath Function: This function checks if the file path is valid and safely contained within an allowed directory.
    It converts the path to an absolute path, resolves any symlinks, and checks if the path starts with the specified allowed directory.
    bhaskarvilles committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    daf136f View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. FIX TYPO

    bhaskarvilles committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    135c26f View commit details
    Browse the repository at this point in the history