[self-interest] selflanguage.org website down

Russell Allen mail at russell-allen.com
Sun Sep 28 05:59:09 UTC 2014


I've just realised the code on github isn't the same version as was running, so hold off for a bit and I will update. Sorry!
Russell

Sent from my phone


> On 28 Sep 2014, at 3:53 pm, "Chris Double chris.double at double.co.nz [self-interest]" <self-interest at yahoogroups.com> wrote:
> 
> 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
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20140928/77ace0c4/attachment.html>


More information about the Self-interest mailing list