mirror of
https://github.com/gryf/wicd.git
synced 2025-12-29 09:52:31 +01:00
Start sanitizing from the very first character
This commit is contained in:
@@ -427,7 +427,7 @@ def noneToString(text):
|
||||
|
||||
def sanitize_escaped(s):
|
||||
""" Sanitize double-escaped unicode strings. """
|
||||
lastpos = 0
|
||||
lastpos = -1
|
||||
while True:
|
||||
lastpos = s.find('\\x', lastpos + 1)
|
||||
#print lastpos
|
||||
|
||||
Reference in New Issue
Block a user