Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | url.lua:absolute_path(): ensure a separator between base_path and relative_path | E. Westbrook | 2018-08-21 | 2 | -1/+2 |
| | |||||
* | url.lua:remove_dot_components(): avoid overconsuming dot segments | E. Westbrook | 2018-08-21 | 2 | -2/+7 |
| | |||||
* | url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵ | E. Westbrook | 2018-08-21 | 2 | -1/+2 |
| | | | | case to prevent triple-dot activation and authority collision | ||||
* | url.lua: separate remove_dot_components() from absolute_path(); also use in ↵ | E. Westbrook | 2018-08-21 | 2 | -21/+38 |
| | | | | _M.absolute() even when not merging | ||||
* | url.lua:absolute_path(): fix issue #254, simplify, add more test cases | E. Westbrook | 2018-08-19 | 2 | -15/+36 |
| | |||||
* | Merge pull request #253 from flyingdutchman23/master | Diego Nehab | 2018-08-06 | 1 | -0/+1 |
|\ | | | | | Fix gcc-8.1.0 warning. | ||||
| * | Fix gcc-8.1.0 warning. | Joris Clement | 2018-08-06 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #250 from ewestbrook/testudata-compat | Diego Nehab | 2018-06-05 | 3 | -1/+20 |
|\ | | | | | Update auxiliar.c to use luaL_testudata (#249), now with Lua 5.1 compatibility | ||||
| * | src/compat.c: provide luaL_testudata() for use by auxiliar.c under Lua 5.1 | E. Westbrook | 2018-06-04 | 2 | -0/+19 |
| | | |||||
| * | Update auxiliar.c | George Zhao | 2018-06-03 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #251 from ewestbrook/ltn12tblsrc | Diego Nehab | 2018-06-05 | 4 | -1/+31 |
|\ \ | |/ |/| | Add ltn12.source.table() | ||||
| * | Add ltn12.source.table() | E. Westbrook | 2018-06-05 | 4 | -1/+31 |
|/ | |||||
* | Merge pull request #239 from ewestbrook/namebuf57 | Diego Nehab | 2017-12-23 | 1 | -2/+2 |
|\ | | | | | Fix buffer size error in src/options.c detected by GCC 7 | ||||
| * | src/options.c: increase buffer from 45 to 57, to accommodate string sizes ↵ | E. Westbrook | 2017-12-22 | 1 | -2/+2 |
|/ | | | | specified (detected by gcc7's -Wstringpop-overflow) | ||||
* | Merge pull request #238 from hleuwer/master | Diego Nehab | 2017-11-23 | 2 | -8/+77 |
|\ | | | | | Fix URL parsing of userinfo containing # character. | ||||
| * | fixed url parsing; postpone fragment parsing after authority parsing; added ↵ | Herbert Leuwer | 2017-11-22 | 2 | -8/+77 |
| | | | | | | | | | | | | test cases to test/urltest.lua fixed reference patterns in check_protect() to upper case hex letters | ||||
| * | fixed URL parsing in url.lua: parse fragment after parsing username and ↵ | Herbert Leuwer | 2017-11-19 | 1 | -5/+5 |
|/ | | | | password. | ||||
* | Merge pull request #213 from elliptica/master | Diego Nehab | 2017-05-15 | 1 | -1/+1 |
|\ | | | | | Fix typo | ||||
| * | Fix typo | Elliptica | 2017-04-17 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #210 from Lord-Helmchen/patch-1 | Diego Nehab | 2017-03-20 | 1 | -2/+2 |
|\ | | | | | make protect_segment in url.lua rfc compliant | ||||
| * | correct typo | LordHelmchen | 2017-03-16 | 1 | -1/+1 |
| | | |||||
| * | make protect_segment in url.lua rfc compliant | LordHelmchen | 2017-03-16 | 1 | -1/+1 |
| | | | | | | | | percent-encode uppercase see https://tools.ietf.org/html/rfc3986#section-6.2.2 | ||||
* | | Preserve path when parsing urls. | Diego Nehab | 2017-03-20 | 2 | -3/+4 |
| | | |||||
* | | Fix issue #196 | Diego Nehab | 2017-03-20 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #211 from fperrad/patch-1 | Diego Nehab | 2017-03-20 | 1 | -1/+1 |
|\ \ | |/ |/| | fix for Lua 5.3 built without number / string conversion | ||||
| * | fix for Lua 5.3 built without number / string conversion | François Perrad | 2017-03-16 | 1 | -1/+1 |
|/ | | | | | | This kind of Lua could be built with this command: ``` hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N" ``` | ||||
* | Merge pull request #207 from cbane/unix-sockets | Diego Nehab | 2017-01-25 | 1 | -5/+45 |
|\ | | | | | Add backwards compatibility wrappers for socket.unix | ||||
| * | Add backwards compatibility wrappers for socket.unix | Courtney Bane | 2017-01-25 | 1 | -5/+45 |
|/ | | | | | | Add backwards compatibility aliases "tcp" and "udp" for the recently renamed "stream" and "dgram" functions, as well as a wrapper function and metatable setup so that socket.unix() calls socket.unix.stream(). | ||||
* | Merge pull request #206 from ncopa/create-socket-on-first-sendto | Diego Nehab | 2017-01-25 | 1 | -0/+21 |
|\ | | | | | Create socket on first sendto if family agnostic udp() was used | ||||
| * | Create socket on first sendto if family agnostic udp() was used | Natanael Copa | 2017-01-25 | 1 | -0/+21 |
|/ | | | | | | | Create socket and set family on first sendto() if udp() was created without address family. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | ||||
* | Merge pull request #199 from enginix/master | Diego Nehab | 2017-01-04 | 11 | -129/+129 |
|\ | | | | | Rename unix.tcp to unix.stream, unix.udp to unix.dgram | ||||
| * | rename unix.tcp to unix.stream, unix.udp to unix.dgram | enginix | 2016-12-25 | 11 | -129/+129 |
|/ | |||||
* | Merge pull request #192 from mmaxs/master | Diego Nehab | 2016-11-11 | 1 | -1/+1 |
|\ | | | | | Allow DESTDIR to be set from the environment | ||||
| * | allow DESTDIR to be set from the environment | Mike Usenko | 2016-11-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #181 from enginix/master | Diego Nehab | 2016-07-22 | 10 | -316/+842 |
|\ | | | | | Add support for datagram unix domain sockets | ||||
| * | add getsockname api for unix {udp,tcp} socket | enginix | 2016-07-22 | 2 | -0/+36 |
| | | |||||
| * | fix unixudp object checking issue | enginix | 2016-07-04 | 1 | -2/+2 |
| | | |||||
| * | unix socket: compat lua 5.1 | enginix | 2016-06-30 | 3 | -2/+5 |
| | | |||||
| * | support datagram unix domain sockets | enginix | 2016-06-24 | 10 | -316/+803 |
|/ | |||||
* | Merge pull request #178 from pdxmeshnet/master | Diego Nehab | 2016-06-17 | 1 | -0/+105 |
|\ | | | | | Add rockspec to current development version. | ||||
| * | Added future release rockspec file | Alex R | 2016-06-15 | 1 | -0/+105 |
|/ | |||||
* | Merge pull request #167 from xspager/add_haiku_plat | Diego Nehab | 2016-04-12 | 1 | -1/+5 |
|\ | | | | | Add the lib network to the linked libs if the platform is Haiku | ||||
| * | Given LuaRocks support Haiku as a valid platform, link the network library | Daniel Lemos | 2016-03-11 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #171 from JonasKunze/feature/overwriteFlags | Diego Nehab | 2016-04-12 | 1 | -2/+4 |
|\ \ | | | | | | | Enabled overwriting of MYCF/MYLDFlAGS | ||||
| * | | Enabled overwriting of MYCF/MYLDFlAGS | Jonas Kunze | 2016-04-12 | 1 | -2/+4 |
| |/ | |||||
* | | Merge pull request #170 from bytefire/master | Diego Nehab | 2016-04-12 | 2 | -4/+5 |
|\ \ | |/ |/| | URL-decode user password before adding to authorization header. | ||||
| * | URL-decode user password before adding to authorization header. | Okash Khawaja | 2016-04-12 | 1 | -1/+2 |
| | | |||||
| * | Update comments for url.unescape() function. | Okash Khawaja | 2016-04-12 | 1 | -3/+3 |
|/ | |||||
* | Hide ftp.PORT "constant" as a local | Diego Nehab | 2016-03-07 | 2 | -3/+2 |
| | |||||
* | Family agostic FTP and expose HTTP/FTP url parsing | Diego Nehab | 2016-03-07 | 4 | -32/+96 |
| |