Closed erdnaxe closed 11 months ago
While testing whip branch, I got a panic at https://github.com/jech/galene/commit/7c2bc04359466ed81098ce77477fb47d4b426557#diff-b816908f2b221093098f09c7d651135fb78dec9ceacff38d82dccc922e528005R275.
whip
I believe this happens when a POST request is sent to /whip without a trailing /. Maybe this condition should check p length before p[:6] != "/whip/" ?
/whip
/
p
p[:6] != "/whip/"
Right, thanks. I'll keep that in mind when I update the whip branch.
The whip branch is obsolete, please use the branch whip2 instead.
While testing
whip
branch, I got a panic at https://github.com/jech/galene/commit/7c2bc04359466ed81098ce77477fb47d4b426557#diff-b816908f2b221093098f09c7d651135fb78dec9ceacff38d82dccc922e528005R275.I believe this happens when a POST request is sent to
/whip
without a trailing/
. Maybe this condition should checkp
length beforep[:6] != "/whip/"
?