Handle whitespace-only strings in short requests

This commit is contained in:
Klaus-Uwe Mitterer 2017-10-01 09:51:40 +02:00
parent 03338d2e48
commit e9a2d9ef43

View file

@ -21,6 +21,7 @@ def application(env, re):
cto = None
split = env["PATH_INFO"].split("/")
split = [i.strip() for i in split]
while "" in split:
split.remove("")