[self-interest] selflanguage.org website down

Chris Double chris.double at double.co.nz
Sun Sep 28 05:53:50 UTC 2014


On Sun, Sep 28, 2014 at 8:51 AM, Russell Allen mail at russell-allen.com
[self-interest] <self-interest at yahoogroups.com> wrote:
> POST /wp-login.php HTTP/1.0
...
> No 'last' slot found in nil.

This error seems to happen because it's a POST request. The code in
webserver handleRequest looks for 'GET *'. If it doesn't find it it
doesn't set the 'url' variable so that remains at nil. When
staticSiteServer's handleUrl method is called it is called with that
nil parameter. It then calls 'last' on it to find out if it has a
trailing '/'.

I think a fix would be to just treat non-GET as 404 and not pass on to
the servlet.

-- 
http://www.bluishcoder.co.nz



More information about the Self-interest mailing list