Commit Graph

55 Commits (17a95c126a178b17292637785c6ec09bb1180493)

Author SHA1 Message Date
E. Westbrook 17a95c126a url.lua:absolute_path(): fix issue #254, simplify, add more test cases 2018-08-19 11:32:42 -06:00
Herbert Leuwer 2d6a0f7bda fixed url parsing; postpone fragment parsing after authority parsing; added test cases to test/urltest.lua
fixed reference patterns in check_protect() to upper case hex letters
2017-11-22 09:30:12 +01:00
Herbert Leuwer 3ee89515a0 fixed URL parsing in url.lua: parse fragment after parsing username and password. 2017-11-19 19:48:37 +01:00
Diego Nehab ff1a447b4d Merge pull request #210 from Lord-Helmchen/patch-1
make protect_segment in url.lua rfc compliant
2017-03-20 17:01:30 -03:00
Diego Nehab 47e644031f Preserve path when parsing urls. 2017-03-20 16:56:15 -03:00
LordHelmchen 44fb9e9112 correct typo 2017-03-16 17:53:02 +01:00
François Perrad 16bb548746 fix for Lua 5.3 built without number / string conversion
This kind of Lua could be built with this command:
```
    hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N"
```
2017-03-16 16:57:17 +01:00
LordHelmchen 860da0f4b4 make protect_segment in url.lua rfc compliant
percent-encode uppercase
see https://tools.ietf.org/html/rfc3986#section-6.2.2
2017-03-16 16:33:28 +01:00
Okash Khawaja 9984741d94 Update comments for url.unescape() function. 2016-04-12 00:01:51 +01:00
mpeterv 700ece0721 Fix base_parsed global in url module 2016-02-11 15:54:59 +03:00
Diego Nehab 6e00ffd62f Changing from 2.1-rc1 to 3.0-rc1. 2013-06-11 19:10:03 +08:00
moteus 920bc97629 Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
2013-05-27 12:45:09 +04:00
Gerardo Marset 56893e9dcd Use the length operator (#) instead of table.getn.
table.getn was deprecated in Lua 5.1 in favor of #, the length operator.
See: http://www.lua.org/manual/5.1/manual.html#7.2
2013-02-25 20:28:28 -02:00
Diego Nehab f960b3872a Making progress toward a release
Documented headers.lua
Update copyright date everywhere
Remove RCSID from files
Move version back to 2.1 rather than 2.1.1
Fixed url package to support ipv6 hosts
Changed "domain" to "family" in tcp and udp structures
Implemented getfamily methods
2012-04-23 00:18:45 +08:00
Matthew Wild 5c33ef9997 url.escape/url.unescape: Fix to return *only* the encoded/decoded string (thanks moodydeath) 2012-04-11 13:33:34 -07:00
Diego Nehab 2778766d67 Preliminary IPv6 support for v2.1 2012-04-11 13:25:11 -07:00
Diego Nehab 3a8ba90dfb Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
Diego Nehab 11282d17c8 Almost done 2.0.1. 2006-04-03 04:45:42 +00:00
Diego Nehab d55a5826e8 Few tweaks in installation, some missing files, etc. 2005-11-22 08:33:29 +00:00
Diego Nehab 71f483496d Works in Finnish now! Who would say... 2005-11-21 07:04:18 +00:00
Diego Nehab f20f4889bf Changed prefix of function names to match module names.
Removed some warnings and useless code.
2005-11-20 07:20:26 +00:00
Diego Nehab 72eceedc62 Bugs sent by David. 2005-10-05 03:16:17 +00:00
Diego Nehab a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
Diego Nehab 0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab 65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab 8b114f3bf4 Stupid bug in http.lua. 2005-06-12 22:02:21 +00:00
Diego Nehab 7350bad6f4 Just to check out in the office. 2005-02-27 18:30:32 +00:00
Diego Nehab 97b26e0b66 Almost ready to release beta3 2005-01-02 22:44:00 +00:00
Diego Nehab a8254e94f8 Last line of modules was simplified. 2004-12-23 23:17:01 +00:00
Diego Nehab 2f970d782e Changes due to new compat-5.1 2004-12-23 22:32:12 +00:00
Diego Nehab 7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab a04f15d1ca Using new module scheme. Still needs fine tuning. 2004-09-27 04:01:18 +00:00
Diego Nehab 613534c795 smtp.c was eatten by mime.c 2004-06-17 06:23:13 +00:00
Diego Nehab 9fc682a106 HTTP now has only one function. 2004-06-16 22:51:04 +00:00
Diego Nehab 574708380f Simplified HTTP module. 2004-06-16 21:56:23 +00:00
Diego Nehab d46f7a09a7 Fixed smtp.lua loading.
Adjusted tftp module.
Added some comments.
2004-06-16 01:02:07 +00:00
Diego Nehab 58096449c6 Manual is almost done. HTTP is missing.
Implemented new distribution scheme.
Select is now purely C.
HTTP reimplemented seems faster dunno why.
LTN12 functions that coroutines fail gracefully.
2004-06-15 06:24:00 +00:00
Diego Nehab 9ed7f955e5 Só pra não perder se der merda. 2004-06-04 15:15:45 +00:00
Diego Nehab 5ca1049ab4 Fine tuning the "require" business. 2004-05-30 21:36:22 +00:00
Diego Nehab c23240726e Changed require"luasocket" to require"socket". 2004-05-28 20:40:13 +00:00
Diego Nehab 6c565dd7c0 Almost there. 2004-05-28 07:47:41 +00:00
Diego Nehab 694edcc3c1 Committing with require. 2004-05-28 06:16:43 +00:00
Diego Nehab e77f179200 Adjusted some of the broken examples. 2004-03-26 00:18:41 +00:00
Diego Nehab 0b2542d1a6 Worked on the manual.
Implemented stuffing (needs test)
Added cddb and qp examples.
2004-02-04 14:29:11 +00:00
Diego Nehab 5b8d7dec54 Updated some of the callbacks in callback.lua.
Update get.lua to use the new callbacks.
The old "code" module is now the "mime" module.
Updated all modules that depended on it.
Updated url.lua to use the new namespace scheme, and moved the
    escape and unescape functions that used to be in the code.lua module
    to it, since these are specific to urls.
Updated the callback entries in the manual.
2004-01-19 05:41:30 +00:00
Diego Nehab 3099704aff Made them independent of namespace. 2003-07-05 06:11:32 +00:00
Diego Nehab 71f6bb60bf Finished implementation of LuaSocket 2.0 alpha on Linux.
Some testing still needed.
2003-06-26 18:47:49 +00:00
Diego Nehab f18d1b7cd0 Closer to release... 2003-03-28 21:08:50 +00:00
Diego Nehab 53857360bb Finish port to Lua 5. Everything is working fine.
Still doesn't work in Windows.
2003-03-20 00:24:44 +00:00
Diego Nehab 7da19138e3 Faltam testes de ftp e smtp. O resto passa. 2002-12-03 07:20:34 +00:00