Skip to content

Commit

Permalink
Added support for URL decoding of the search parameter for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
C0deBeez committed Sep 9, 2024
1 parent 129c942 commit 764c854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dash/_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 764c854

Please # to comment.