This commit is contained in:
Miroslav Stampar
2020-05-13 11:59:59 +02:00
parent 4f3f43d8bb
commit 0b93311ef2
2 changed files with 2 additions and 2 deletions

View File

@@ -709,7 +709,7 @@ class _AbstractFormParser:
data = data[1:]
map[key] = data
else:
map[key] = (map[key].decode("utf8") if isinstance(map[key], six.binary_type) else map[key]) + data
map[key] = (map[key].decode("utf8", "replace") if isinstance(map[key], six.binary_type) else map[key]) + data
def do_button(self, attrs):
debug("%s", attrs)