gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-merchant-demos] branch master updated: urlencode even slash


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: urlencode even slashes
Date: Mon, 10 May 2021 17:24:40 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 9b04aae  urlencode even slashes
9b04aae is described below

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

    urlencode even slashes
---
 talermerchantdemos/blog/content.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talermerchantdemos/blog/content.py 
b/talermerchantdemos/blog/content.py
index 4a6282e..c046c45 100644
--- 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:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]