cgi-bin/tek/class/loona.lua
changeset 189 efb1bd425c56
parent 188 77f536d09f08
child 198 87a4de7c7457
     1.1 --- a/cgi-bin/tek/class/loona.lua	Sun May 20 18:28:42 2007 +0200
     1.2 +++ b/cgi-bin/tek/class/loona.lua	Sun May 20 21:16:54 2007 +0200
     1.3 @@ -8,8 +8,8 @@
     1.4  local lib = require "tek.lib"
     1.5  local luahtml = require "tek.lib.luahtml"
     1.6  local posix = require "tek.os.posix"
     1.7 -local http = require "tek.class.http"
     1.8 -local Request = require "tek.class.http.request"
     1.9 +local cgi = require "tek.class.cgi"
    1.10 +local Request = require "tek.class.cgi.request"
    1.11  local util = require "tek.class.loona.util"
    1.12  local markup = require "tek.class.loona.markup"
    1.13  
    1.14 @@ -36,7 +36,7 @@
    1.15  
    1.16  
    1.17  _VERSION = 4
    1.18 -_REVISION = 1
    1.19 +_REVISION = 2
    1.20  
    1.21  
    1.22  -- Session
    1.23 @@ -508,7 +508,7 @@
    1.24  		else
    1.25  			table.insert(href, "?")
    1.26  		end
    1.27 -		table.insert(href, arg.name .. "=" .. http.encodeurl(arg.value))
    1.28 +		table.insert(href, arg.name .. "=" .. cgi.encodeurl(arg.value))
    1.29  	end
    1.30  	if anch then
    1.31  		insert(href, anch)
    1.32 @@ -1482,7 +1482,7 @@
    1.33  
    1.34  
    1.35  function Loona:encodeform(s)
    1.36 -	return http.encodeform(s)
    1.37 +	return util.encodeform(s)
    1.38  end
    1.39  
    1.40