From 779f8dbca88a8f4471cdb9704ec9d4890b6aefda Mon Sep 17 00:00:00 2001 From: Sanket322 Date: Thu, 13 Feb 2025 14:02:38 +0530 Subject: [PATCH] fix: Encode filters to handle special characters --- frappe/utils/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/data.py b/frappe/utils/data.py index 44aee027f1..8b1e62066c 100644 --- a/frappe/utils/data.py +++ b/frappe/utils/data.py @@ -1897,7 +1897,7 @@ def get_link_to_report( for value in v ) else: - conditions.append(str(k) + "=" + str(v)) + conditions.append(str(k) + "=" + quote(str(v))) filters = "&".join(conditions)