Allow semicolons in some other fields

merge-requests/30/head
Bob Mottram 2021-03-01 12:19:49 +00:00
parent fdc9c0ab62
commit 6b3feec7aa
1 changed files with 3 additions and 4 deletions

View File

@ -996,10 +996,9 @@ def extractTextFieldsInPOST(postBytes, boundary, debug: bool,
messageFields = messageFields.split(boundary)
fields = {}
fieldsWithSemicolonAllowed = (
'message', 'bio', 'autoCW',
'password', 'passwordconfirm',
'instanceDescription',
'instanceDescriptionShort'
'message', 'bio', 'autoCW', 'password', 'passwordconfirm',
'instanceDescription', 'instanceDescriptionShort',
'subject', 'location', 'imageDescription'
)
# examine each section of the POST, separated by the boundary
for f in messageFields: