
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)
The
target_dirvariable 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.Originally posted by @gemini-code-assist[bot] in #318 (comment)