aboutsummaryrefslogtreecommitdiff
path: root/test/urltest.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-22Revert "url.lua:absolute_path(): fix issue #254"revert-256-luasocket254Diego Nehab1-39/+5
2018-08-21url.lua:remove_dot_components(): avoid ambiguous numeric representation as ↵E. Westbrook1-2/+3
empty-path-segment marker
2018-08-21url.lua:remove_dot_components(): use temporary NUL marker to reduce ↵E. Westbrook2-2/+7
empty-segment special-case code
2018-08-21url.lua:remove_dot_components(): empty path component double-dot corner caseE. Westbrook2-0/+5
2018-08-21url.lua:absolute_path(): ensure a separator between base_path and relative_pathE. Westbrook2-1/+2
2018-08-21url.lua:remove_dot_components(): avoid overconsuming dot segmentsE. Westbrook2-2/+7
2018-08-21url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵E. Westbrook2-1/+2
case to prevent triple-dot activation and authority collision
2018-08-21url.lua: separate remove_dot_components() from absolute_path(); also use in ↵E. Westbrook2-21/+38
_M.absolute() even when not merging
2018-08-19url.lua:absolute_path(): fix issue #254, simplify, add more test casesE. Westbrook2-15/+36
2018-08-06Fix gcc-8.1.0 warning.Joris Clement1-0/+1
2018-06-05Add ltn12.source.table()E. Westbrook4-1/+31
2018-06-04src/compat.c: provide luaL_testudata() for use by auxiliar.c under Lua 5.1E. Westbrook2-0/+19
2018-06-03Update auxiliar.cGeorge Zhao1-1/+1
2017-12-22src/options.c: increase buffer from 45 to 57, to accommodate string sizes ↵E. Westbrook1-2/+2
specified (detected by gcc7's -Wstringpop-overflow)
2017-11-22fixed url parsing; postpone fragment parsing after authority parsing; added ↵Herbert Leuwer2-8/+77
test cases to test/urltest.lua fixed reference patterns in check_protect() to upper case hex letters
2017-11-19fixed URL parsing in url.lua: parse fragment after parsing username and ↵Herbert Leuwer1-5/+5
password.
2017-04-17Fix typoElliptica1-1/+1
2017-03-20Preserve path when parsing urls.Diego Nehab2-3/+4
2017-03-20Fix issue #196Diego Nehab1-0/+1
2017-03-16correct typoLordHelmchen1-1/+1
2017-03-16fix for Lua 5.3 built without number / string conversionFrançois Perrad1-1/+1
This kind of Lua could be built with this command: ``` hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N" ```
2017-03-16make protect_segment in url.lua rfc compliantLordHelmchen1-1/+1
percent-encode uppercase see https://tools.ietf.org/html/rfc3986#section-6.2.2
2017-01-25Add backwards compatibility wrappers for socket.unixCourtney Bane1-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().
2017-01-25Create socket on first sendto if family agnostic udp() was usedNatanael Copa1-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>
2016-12-25rename unix.tcp to unix.stream, unix.udp to unix.dgramenginix11-129/+129
2016-11-08allow DESTDIR to be set from the environmentMike Usenko1-1/+1
2016-07-22add getsockname api for unix {udp,tcp} socketenginix2-0/+36
2016-07-04fix unixudp object checking issueenginix1-2/+2
2016-06-30unix socket: compat lua 5.1enginix3-2/+5
2016-06-24support datagram unix domain socketsenginix10-316/+803