diff --git a/CHANGELOG.md b/CHANGELOG.md index f0de006ace..b52aa74aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). - [#2994](https://github.com/plotly/dash/pull/2994) Keep generated doc-string order for shape or exact props. Fixes [#2990](https://github.com/plotly/dash/issues/2990) - [#3011](https://github.com/plotly/dash/pull/3011) Fixed an exception error caused by assigning `None` to array properties with `exact` or `shape` element types. Fixes [#3010](https://github.com/plotly/dash/issues/3010) +- [#2991](https://github.com/plotly/dash/pull/2991) Add support for URL decoding of the search parameter for pages. ## [2.18.1] - 2024-09-12 diff --git a/dash/_pages.py b/dash/_pages.py index ab97ba80df..5bf0c14fc7 100644 --- a/dash/_pages.py +++ b/dash/_pages.py @@ -6,7 +6,7 @@ from fnmatch import fnmatch from pathlib import Path from os.path import isfile, join -from urllib.parse import parse_qs +from urllib.parse import parse_qs, unquote import flask @@ -113,6 +113,7 @@ def _infer_module_name(page_path): def _parse_query_string(search): + search = unquote(search) if search and len(search) > 0 and search[0] == "?": search = search[1:] else: