aboutsummaryrefslogtreecommitdiff
path: root/src/url.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-12-23 22:32:12 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-12-23 22:32:12 +0000
commit2f970d782ea97a73787f76bd100bb06615456904 (patch)
tree949257dd1ec89db41757fe1f0209c8f8a7e2bbe8 /src/url.lua
parentae2d2859e7882d553276896d499064a2407c3853 (diff)
downloadluasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.gz
luasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.bz2
luasocket-2f970d782ea97a73787f76bd100bb06615456904.zip
Changes due to new compat-5.1
Diffstat (limited to '')
-rw-r--r--src/url.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/url.lua b/src/url.lua
index 08081f0..7f2c756 100644
--- a/src/url.lua
+++ b/src/url.lua
@@ -11,7 +11,7 @@
11local string = require("string") 11local string = require("string")
12local base = require("base") 12local base = require("base")
13local table = require("table") 13local table = require("table")
14local url = module("socket.url") 14module("socket.url")
15 15
16----------------------------------------------------------------------------- 16-----------------------------------------------------------------------------
17-- Encodes a string into its escaped hexadecimal representation 17-- Encodes a string into its escaped hexadecimal representation
@@ -273,4 +273,4 @@ function build_path(parsed, unsafe)
273 return path 273 return path
274end 274end
275 275
276base.setmetatable(url, nil) 276base.getmetatable(_M).__index = nil