Commit Graph

27 Commits (master)

Author SHA1 Message Date
Thijs Schreijer 601ad8d59f
refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
E. Westbrook ca5398be09 url.lua:remove_dot_components(): use temporary NUL marker to reduce empty-segment special-case code 2018-08-21 12:17:12 -06:00
E. Westbrook 38d936ec0e url.lua:remove_dot_components(): empty path component double-dot corner case 2018-08-21 11:27:42 -06:00
E. Westbrook 5b862e6a3c url.lua:absolute_path(): ensure a separator between base_path and relative_path 2018-08-21 10:43:04 -06:00
E. Westbrook 7ccea58776 url.lua:remove_dot_components(): avoid overconsuming dot segments 2018-08-21 09:59:45 -06:00
E. Westbrook c570a32c21 url.lua:remove_dot_components(): limit beginning-of-string double-dot corner case to prevent triple-dot activation and authority collision 2018-08-21 09:07:42 -06:00
E. Westbrook c905b5d44f url.lua: separate remove_dot_components() from absolute_path(); also use in _M.absolute() even when not merging 2018-08-21 08:03:51 -06:00
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
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
Diego Nehab 3a8ba90dfb Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
Diego Nehab a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
Diego Nehab 8b114f3bf4 Stupid bug in http.lua. 2005-06-12 22:02:21 +00:00
Diego Nehab 1e5e8b5ce5 Fine tunned modules scheme.
Adjusted client modules.
Fixed proxy bug in http.
2004-10-11 06:18:57 +00:00
Diego Nehab bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +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 6c565dd7c0 Almost there. 2004-05-28 07:47:41 +00:00
Diego Nehab e77f179200 Adjusted some of the broken examples. 2004-03-26 00:18:41 +00:00
Diego Nehab 1fa65d89ca Adjusted some details, got rid of old files, added some new. 2004-03-22 04:15:03 +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 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
Diego Nehab b796207ce0 Usando noglobals.lua 2002-07-08 21:57:18 +00:00
Diego Nehab 6eb7f22c4b added unsafe path composition test
added new build_url tests
2001-09-26 20:29:32 +00:00
Diego Nehab 6dd115015c Initial revision 2001-09-25 21:35:17 +00:00