1. Daniel Poelzleithner
  2. webmcp

Commits

jbe  committed 795b764

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)

  • Participants
  • Parent commits 72860d2
  • Branches default
  • Tags v1.0.3

Comments (0)

Files changed (2)

File doc/autodoc-header.htmlpart

View file
         color: #505050;
       }
     </style>
-    <title>WebMCP 1.0.2 Documentation</title>
+    <title>WebMCP 1.0.3 Documentation</title>
   </head>
   <body>
-    <h1>WebMCP 1.0.2 Documentation</h1>
+    <h1>WebMCP 1.0.3 Documentation</h1>
     <p>
       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.
     </p>

File framework/cgi-bin/webmcp.lua

View file
 #!/usr/bin/env lua
 
-_WEBMCP_VERSION = "1.0.2"
+_WEBMCP_VERSION = "1.0.3"
 
 -- include "../lib/" in search path for libraries
 do
     end
 
     if not request.get_redirect_data() then
+      request.process_forward()
       local view = request.get_view()
       if string.find(view, "^_") then
         error("Tried to call a private view (prefixed with underscore).")
       end
-      request.process_forward()
       execute.filtered_view{
         module = request.get_module(),
         view   = view,