Skip to content

Missing URL encode #321

Description

@oxesoft

medium

The target_dir variable should be URL-encoded before being used as a query parameter. This ensures that special characters in the file path do not break the URL structure.

    from urllib.parse import quote
    url_report = f"{matter_qa_url}/home/displayLogFolder?dir_path={quote(target_dir)}"

Originally posted by @gemini-code-assist[bot] in #318 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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