<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>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!</div><div>Russell<br><div><br></div>Sent from my phone<div><br></div></div><div><br>On 28 Sep 2014, at 3:53 pm, "Chris Double <a href="mailto:chris.double@double.co.nz">chris.double@double.co.nz</a> [self-interest]" <<a href="mailto:self-interest@yahoogroups.com">self-interest@yahoogroups.com</a>> wrote:<br><br></div><blockquote type="cite"><div>












 

<span style="display:none"> </span>



    <div id="ygrp-text">
      
      
      <p>On Sun, Sep 28, 2014 at 8:51 AM, Russell Allen <a href="mailto:mail@russell-allen.com">mail@russell-allen.com</a><br>
[self-interest] <<a href="mailto:self-interest@yahoogroups.com">self-interest@yahoogroups.com</a>> wrote:<br>
> POST /wp-login.php HTTP/1.0<br>
...<br>
> No 'last' slot found in nil.<br>
<br>
This error seems to happen because it's a POST request. The code in<br>
webserver handleRequest looks for 'GET *'. If it doesn't find it it<br>
doesn't set the 'url' variable so that remains at nil. When<br>
staticSiteServer's handleUrl method is called it is called with that<br>
nil parameter. It then calls 'last' on it to find out if it has a<br>
trailing '/'.<br>
<br>
I think a fix would be to just treat non-GET as 404 and not pass on to<br>
the servlet.<br>
<br>
-- <br>
<a href="http://www.bluishcoder.co.nz">http://www.bluishcoder.co.nz</a><br>
</p>

    </div>
     

    





<!-- end group email -->

</div></blockquote></body></html>