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 d474fc6 commit 9eee648Copy full SHA for 9eee648
xssless.py
@@ -132,11 +132,14 @@ def parse_request(input_var, url):
132
body_var_List = body_data.split("&")
133
body_var_List = filter(None, body_var_List)
134
for item in body_var_List:
135
- key, value = item.split("=", 1)
136
- bodyDict = {}
137
- bodyDict['Key'] = key
138
- bodyDict['Value'] = value
139
- bodyList.append(bodyDict)
+ try:
+ key, value = item.split("=", 1)
+ bodyDict = {}
+ bodyDict['Key'] = key
+ bodyDict['Value'] = value
140
+ bodyList.append(bodyDict)
141
+ except ValueError:
142
+ pass
143
144
# Returned dict, chocked full of useful information formatted nicely for your convienience!
145
returnDict = {}
0 commit comments