going-flying.com gemini git repository
4094b6434315c182ddf848ab21bdb5c22bae35c1 - Matthew Ernisse - 1596136432
strip the query string in case it ends with some whitespace
diff --git a/cgi-bin/vfdsay.py b/cgi-bin/vfdsay.py index c531e43..5a60ba5 100755 --- a/cgi-bin/vfdsay.py +++ b/cgi-bin/vfdsay.py @@ -51,7 +51,7 @@ if __name__ == '__main__': sys.exit(0) try: - qs = unquote(qs) + qs = unquote(qs).strip() list(map(unicodeCheck, qs)) except Exception as e: print(f'50 {e} in input\r\n')