aboutsummaryrefslogtreecommitdiff
path: root/src/url.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(url): Avoid fragment being part of authority, allows parsing empty pathsCaleb Maclennan2023-11-081-1/+1
|
* fix(url): Avoid query string being part of authority, allows parsing empty pathsCaleb Maclennan2023-11-081-1/+1
|
* refactor: Address issues raised by linterThijs Schreijer2022-03-191-3/+3
|
* url.lua:remove_dot_components(): avoid ambiguous numeric representation as ↵E. Westbrook2018-08-211-2/+3
| | | | empty-path-segment marker
* url.lua:remove_dot_components(): use temporary NUL marker to reduce ↵E. Westbrook2018-08-211-2/+3
| | | | empty-segment special-case code
* url.lua:remove_dot_components(): empty path component double-dot corner caseE. Westbrook2018-08-211-0/+4
|
* url.lua:absolute_path(): ensure a separator between base_path and relative_pathE. Westbrook2018-08-211-0/+1
|
* url.lua:remove_dot_components(): avoid overconsuming dot segmentsE. Westbrook2018-08-211-2/+2
|
* url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵E. Westbrook2018-08-211-1/+1
| | | | case to prevent triple-dot activation and authority collision
* url.lua: separate remove_dot_components() from absolute_path(); also use in ↵E. Westbrook2018-08-211-17/+34
| | | | _M.absolute() even when not merging
* url.lua:absolute_path(): fix issue #254, simplify, add more test casesE. Westbrook2018-08-191-14/+12
|
* fixed url parsing; postpone fragment parsing after authority parsing; added ↵Herbert Leuwer2017-11-221-5/+5
| | | | | | 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 Leuwer2017-11-191-5/+5
| | | | password.
* Merge pull request #210 from Lord-Helmchen/patch-1Diego Nehab2017-03-201-2/+2
|\ | | | | make protect_segment in url.lua rfc compliant
| * correct typoLordHelmchen2017-03-161-1/+1
| |
| * make protect_segment in url.lua rfc compliantLordHelmchen2017-03-161-1/+1
| | | | | | | | percent-encode uppercase see https://tools.ietf.org/html/rfc3986#section-6.2.2
* | Preserve path when parsing urls.Diego Nehab2017-03-201-2/+3
| |
* | fix for Lua 5.3 built without number / string conversionFrançois Perrad2017-03-161-1/+1
|/ | | | | | This kind of Lua could be built with this command: ``` hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N" ```
* Update comments for url.unescape() function.Okash Khawaja2016-04-121-3/+3
|
* Fix base_parsed global in url modulempeterv2016-02-111-0/+1
|
* Changing from 2.1-rc1 to 3.0-rc1.Diego Nehab2013-06-111-2/+2
|
* Build with Lua 5.2 without LUA_COMPAT_MODULE flag.moteus2013-05-271-16/+21
| | | | LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
* Use the length operator (#) instead of table.getn.Gerardo Marset2013-02-251-2/+2
| | | | | 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
* Making progress toward a releaseDiego Nehab2012-04-231-5/+10
| | | | | | | | | | 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
* url.escape/url.unescape: Fix to return *only* the encoded/decoded string ↵Matthew Wild2012-04-111-4/+4
| | | | (thanks moodydeath)
* Preliminary IPv6 support for v2.1Diego Nehab2012-04-111-9/+3
|
* Saving before big changes to support IPv6.Diego Nehab2011-05-251-58/+64
|
* Almost done 2.0.1.Diego Nehab2006-04-031-1/+1
|
* Few tweaks in installation, some missing files, etc.Diego Nehab2005-11-221-25/+25
|
* Works in Finnish now! Who would say...Diego Nehab2005-11-211-2/+2
|
* Changed prefix of function names to match module names.Diego Nehab2005-11-201-9/+20
| | | | Removed some warnings and useless code.
* Bugs sent by David.Diego Nehab2005-10-051-1/+0
|
* Almost ready to release.Diego Nehab2005-09-291-0/+5
|
* Final push for release...Diego Nehab2005-08-121-1/+1
|
* Working on the manual.Diego Nehab2005-06-141-1/+1
|
* Stupid bug in http.lua.Diego Nehab2005-06-121-1/+1
|
* Just to check out in the office.Diego Nehab2005-02-271-16/+22
|
* Almost ready to release beta3Diego Nehab2005-01-021-1/+1
|
* Last line of modules was simplified.Diego Nehab2004-12-231-1/+1
|
* Changes due to new compat-5.1Diego Nehab2004-12-231-2/+2
|
* Almost ready for beta3Diego Nehab2004-11-271-5/+10
|
* Using new module scheme. Still needs fine tuning.Diego Nehab2004-09-271-0/+5
|
* smtp.c was eatten by mime.cDiego Nehab2004-06-171-5/+0
|
* HTTP now has only one function.Diego Nehab2004-06-161-1/+2
|
* Simplified HTTP module.Diego Nehab2004-06-161-1/+1
|
* Fixed smtp.lua loading.Diego Nehab2004-06-161-3/+0
| | | | | Adjusted tftp module. Added some comments.
* Manual is almost done. HTTP is missing.Diego Nehab2004-06-151-3/+1
| | | | | | | Implemented new distribution scheme. Select is now purely C. HTTP reimplemented seems faster dunno why. LTN12 functions that coroutines fail gracefully.
* Só pra não perder se der merda.Diego Nehab2004-06-041-9/+7
|
* Fine tuning the "require" business.Diego Nehab2004-05-301-1/+2
|
* Changed require"luasocket" to require"socket".Diego Nehab2004-05-281-1/+1
|