Skip to content

Commit 764c854

Browse files
committed
Added support for URL decoding of the search parameter for pages
1 parent 129c942 commit 764c854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dash/_pages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from fnmatch import fnmatch
77
from pathlib import Path
88
from os.path import isfile, join
9-
from urllib.parse import parse_qs
9+
from urllib.parse import parse_qs, unquote
1010

1111
import flask
1212

@@ -113,6 +113,7 @@ def _infer_module_name(page_path):
113113

114114

115115
def _parse_query_string(search):
116+
search = unquote(search)
116117
if search and len(search) > 0 and search[0] == "?":
117118
search = search[1:]
118119
else:

0 commit comments

Comments
 (0)