mirror of https://gitlab.com/bashrc2/epicyon
Allow semicolons in some other fields
parent
fdc9c0ab62
commit
6b3feec7aa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue