Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 617edf7 commit c7b3745Copy full SHA for c7b3745
1 file changed
lib/core/common.py
@@ -1008,8 +1008,10 @@ def searchEnvPath(fileName):
1008
def urlEncodeCookieValues(cookieStr):
1009
if cookieStr:
1010
result = ""
1011
+
1012
for part in cookieStr.split(';'):
1013
index = part.find('=') + 1
1014
1015
if index > 0:
1016
name = part[:index - 1].strip()
1017
value = urlencode(part[index:], convall=True)
@@ -1018,10 +1020,12 @@ def urlEncodeCookieValues(cookieStr):
1018
1020
result += "%s%s" % ("%3B", urlencode(part, convall=True))
1019
1021
else:
1022
result += "; secure"
1023
1024
if result.startswith('; '):
1025
result = result[2:]
1026
elif result.startswith('%3B'):
1027
result = result[3:]
1028
1029
return result
1030
1031
return None
0 commit comments