taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 9b04aae3a58f0512277647c59ff99e34cb6a8b30
parent e80ad56b6a89a9b4be4c42f27902a71f797dd60a
Author: Florian Dold <florian@dold.me>
Date:   Mon, 10 May 2021 17:24:35 +0200

urlencode even slashes

Diffstat:
Mtalermerchantdemos/blog/content.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/blog/content.py b/talermerchantdemos/blog/content.py @@ -99,7 +99,7 @@ def add_from_html(resource_name, lang): title = resource_name else: title = title_el.get_text().strip() - slug = quote(title.replace(" ", "_")) + slug = quote(title.replace(" ", "_"), safe="") teaser = soup.find("p", attrs={"id": ["teaser"]}) if teaser is None: