Parse notes

merge-requests/8/head
Bob Mottram 2020-08-05 22:34:14 +01:00
parent 070d8fe88e
commit 5e1cb80821
1 changed files with 1 additions and 0 deletions

View File

@ -7763,6 +7763,7 @@ class PubServer(BaseHTTPRequestHandler):
personNotes = optionsConfirmParams.split('optionnotes=')[1] personNotes = optionsConfirmParams.split('optionnotes=')[1]
if '&' in personNotes: if '&' in personNotes:
personNotes = personNotes.split('&')[0] personNotes = personNotes.split('&')[0]
personNotes = urllib.parse.unquote(personNotes.strip())
# Limit the length of the notes # Limit the length of the notes
if len(personNotes) > 64000: if len(personNotes) > 64000:
personNotes = None personNotes = None