webmcp

diff framework/cgi-bin/webmcp.lua @ 97:52305ec73d47

Fixed 404 treatment regarding _webmcp_path interface
author jbe
date Sun Oct 14 17:11:13 2012 +0200 (2012-10-14)
parents a5106c0a9be4
children 4747ddffdeff
line diff
     1.1 --- a/framework/cgi-bin/webmcp.lua	Wed Oct 10 18:41:11 2012 +0200
     1.2 +++ b/framework/cgi-bin/webmcp.lua	Sun Oct 14 17:11:13 2012 +0200
     1.3 @@ -281,8 +281,7 @@
     1.4        end
     1.5      end
     1.6  
     1.7 -    if cgi.params["_webmcp_404"] then
     1.8 -      request.force_absolute_baseurl()
     1.9 +    if request.is_404() then
    1.10        request.set_status("404 Not Found")
    1.11        if request.get_404_route() then
    1.12          request.forward(request.get_404_route())

Impressum / About Us