webmcp

diff framework/cgi-bin/webmcp.lua @ 3:795b764629ca

Version 1.0.3

Important bugfix related to internal forwards (Bug was introduced by the restriction of views with underscore prefix in Version 1.0.2)
author jbe
date Thu Dec 10 12:00:00 2009 +0100 (2009-12-10)
parents 72860d232f32
children 5e32ef998acf
line diff
     1.1 --- a/framework/cgi-bin/webmcp.lua	Thu Dec 10 12:00:00 2009 +0100
     1.2 +++ b/framework/cgi-bin/webmcp.lua	Thu Dec 10 12:00:00 2009 +0100
     1.3 @@ -1,6 +1,6 @@
     1.4  #!/usr/bin/env lua
     1.5  
     1.6 -_WEBMCP_VERSION = "1.0.2"
     1.7 +_WEBMCP_VERSION = "1.0.3"
     1.8  
     1.9  -- include "../lib/" in search path for libraries
    1.10  do
    1.11 @@ -346,11 +346,11 @@
    1.12      end
    1.13  
    1.14      if not request.get_redirect_data() then
    1.15 +      request.process_forward()
    1.16        local view = request.get_view()
    1.17        if string.find(view, "^_") then
    1.18          error("Tried to call a private view (prefixed with underscore).")
    1.19        end
    1.20 -      request.process_forward()
    1.21        execute.filtered_view{
    1.22          module = request.get_module(),
    1.23          view   = view,

Impressum / About Us