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)
|
messageFields = messageFields.split(boundary)
|
||||||
fields = {}
|
fields = {}
|
||||||
fieldsWithSemicolonAllowed = (
|
fieldsWithSemicolonAllowed = (
|
||||||
'message', 'bio', 'autoCW',
|
'message', 'bio', 'autoCW', 'password', 'passwordconfirm',
|
||||||
'password', 'passwordconfirm',
|
'instanceDescription', 'instanceDescriptionShort',
|
||||||
'instanceDescription',
|
'subject', 'location', 'imageDescription'
|
||||||
'instanceDescriptionShort'
|
|
||||||
)
|
)
|
||||||
# examine each section of the POST, separated by the boundary
|
# examine each section of the POST, separated by the boundary
|
||||||
for f in messageFields:
|
for f in messageFields:
|
||||||
|
|
Loading…
Reference in New Issue