Changes due to new compat-5.1
This commit is contained in:
parent
ae2d2859e7
commit
2f970d782e
11 changed files with 20 additions and 21 deletions
|
@ -11,7 +11,7 @@
|
|||
local string = require("string")
|
||||
local base = require("base")
|
||||
local table = require("table")
|
||||
local url = module("socket.url")
|
||||
module("socket.url")
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- Encodes a string into its escaped hexadecimal representation
|
||||
|
@ -273,4 +273,4 @@ function build_path(parsed, unsafe)
|
|||
return path
|
||||
end
|
||||
|
||||
base.setmetatable(url, nil)
|
||||
base.getmetatable(_M).__index = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue