webmcp

changeset 3:795b764629ca v1.0.3

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
files doc/autodoc-header.htmlpart framework/cgi-bin/webmcp.lua
line diff
     1.1 --- a/doc/autodoc-header.htmlpart	Thu Dec 10 12:00:00 2009 +0100
     1.2 +++ b/doc/autodoc-header.htmlpart	Thu Dec 10 12:00:00 2009 +0100
     1.3 @@ -55,10 +55,10 @@
     1.4          color: #505050;
     1.5        }
     1.6      </style>
     1.7 -    <title>WebMCP 1.0.2 Documentation</title>
     1.8 +    <title>WebMCP 1.0.3 Documentation</title>
     1.9    </head>
    1.10    <body>
    1.11 -    <h1>WebMCP 1.0.2 Documentation</h1>
    1.12 +    <h1>WebMCP 1.0.3 Documentation</h1>
    1.13      <p>
    1.14        WebMCP is a completely new web development framework, and has not been extensively tested yet. The API might change at any time, but in future releases there will be a list of all changes, which break downward compatibility.
    1.15      </p>
     2.1 --- a/framework/cgi-bin/webmcp.lua	Thu Dec 10 12:00:00 2009 +0100
     2.2 +++ b/framework/cgi-bin/webmcp.lua	Thu Dec 10 12:00:00 2009 +0100
     2.3 @@ -1,6 +1,6 @@
     2.4  #!/usr/bin/env lua
     2.5  
     2.6 -_WEBMCP_VERSION = "1.0.2"
     2.7 +_WEBMCP_VERSION = "1.0.3"
     2.8  
     2.9  -- include "../lib/" in search path for libraries
    2.10  do
    2.11 @@ -346,11 +346,11 @@
    2.12      end
    2.13  
    2.14      if not request.get_redirect_data() then
    2.15 +      request.process_forward()
    2.16        local view = request.get_view()
    2.17        if string.find(view, "^_") then
    2.18          error("Tried to call a private view (prefixed with underscore).")
    2.19        end
    2.20 -      request.process_forward()
    2.21        execute.filtered_view{
    2.22          module = request.get_module(),
    2.23          view   = view,

Impressum / About Us