<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasocket/test/urltest.lua, branch feat/sse</title>
<subtitle>A mirror of https://github.com/lunarmodules/luasocket.git
</subtitle>
<id>https://git.lua4.win/luasocket/atom?h=feat%2Fsse</id>
<link rel='self' href='https://git.lua4.win/luasocket/atom?h=feat%2Fsse'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/'/>
<updated>2026-08-30T13:34:15+00:00</updated>
<entry>
<title>feat(url): classify host as name/ipv4/ipv6 in parse and build</title>
<updated>2026-08-30T13:34:15+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2026-08-30T13:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=6fe110be47c0fc34bc9dce6d377ce9b48ab27c2e'/>
<id>urn:sha1:6fe110be47c0fc34bc9dce6d377ce9b48ab27c2e</id>
<content type='text'>
parse() now sets hosttype ("name"/"ipv4"/"ipv6") plus a matching
hostname/ipv4/ipv6 field alongside host. build() accepts those same
fields when host is absent, erroring if more than one is set.

classify_host is exported for standalone use; it classifies by shape
(colon present -&gt; ipv6, dotted-quad shape -&gt; ipv4) rather than
validating the address.
</content>
</entry>
<entry>
<title>refactor: Address issues raised by linter</title>
<updated>2022-03-19T14:13:15+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2022-03-18T11:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1'/>
<id>urn:sha1:601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:remove_dot_components(): use temporary NUL marker to reduce empty-segment special-case code</title>
<updated>2018-08-21T18:17:12+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T18:02:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=ca5398be098b571912dcbd93c83ab78151814f99'/>
<id>urn:sha1:ca5398be098b571912dcbd93c83ab78151814f99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:remove_dot_components(): empty path component double-dot corner case</title>
<updated>2018-08-21T17:27:42+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T17:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=38d936ec0ea05da9f85a5c582e5073e0d1b82209'/>
<id>urn:sha1:38d936ec0ea05da9f85a5c582e5073e0d1b82209</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:absolute_path(): ensure a separator between base_path and relative_path</title>
<updated>2018-08-21T16:43:04+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T16:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=5b862e6a3c79b8e336a0ac2f0d23ca69993b326d'/>
<id>urn:sha1:5b862e6a3c79b8e336a0ac2f0d23ca69993b326d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:remove_dot_components(): avoid overconsuming dot segments</title>
<updated>2018-08-21T15:59:45+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T15:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=7ccea58776b8084f29a48610cb44b17ca604e4b5'/>
<id>urn:sha1:7ccea58776b8084f29a48610cb44b17ca604e4b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:remove_dot_components(): limit beginning-of-string double-dot corner case to prevent triple-dot activation and authority collision</title>
<updated>2018-08-21T15:07:42+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T15:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=c570a32c219c957fd405ed018f2500f06952c043'/>
<id>urn:sha1:c570a32c219c957fd405ed018f2500f06952c043</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua: separate remove_dot_components() from absolute_path(); also use in _M.absolute() even when not merging</title>
<updated>2018-08-21T14:03:51+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-21T14:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=c905b5d44f8cdfbc8110a9a7d1d62c08b5703ae3'/>
<id>urn:sha1:c905b5d44f8cdfbc8110a9a7d1d62c08b5703ae3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url.lua:absolute_path(): fix issue #254, simplify, add more test cases</title>
<updated>2018-08-19T17:32:42+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2018-08-19T17:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=17a95c126a178b17292637785c6ec09bb1180493'/>
<id>urn:sha1:17a95c126a178b17292637785c6ec09bb1180493</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed url parsing; postpone fragment parsing after authority parsing; added test cases to test/urltest.lua</title>
<updated>2017-11-22T08:30:12+00:00</updated>
<author>
<name>Herbert Leuwer</name>
<email>herbert.leuwer@t-online.de</email>
</author>
<published>2017-11-22T08:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=2d6a0f7bda9241f827a3edbfa738603c024a423b'/>
<id>urn:sha1:2d6a0f7bda9241f827a3edbfa738603c024a423b</id>
<content type='text'>
fixed reference patterns in check_protect() to upper case hex letters
</content>
</entry>
</feed>
