Skip to content
Snippets Groups Projects
Commit 620c0bae authored by emmapeel's avatar emmapeel :robot:
Browse files

add another special char to the list

parent 9f157c79
No related branches found
Tags tor-0.4.3.1-alpha
No related merge requests found
......@@ -43,7 +43,7 @@ def make_string_link(source_string,pofile):
lang_code = 'sv_SE'
source_string_modified = source_string
#we need to replace some chars that are not allowed on the url
replaced_chars = " '[]()`<>\":/&*={}-"
replaced_chars = " '[]()`<>\":/&*={}- %"
for onechar in replaced_chars:
source_string_modified = source_string_modified.replace(onechar, "+")
source_string_modified = source_string_modified.replace('#', "%23")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment