summaryrefslogtreecommitdiff
path: root/tests/util/url
Commit message (Collapse)AuthorAgeFilesLines
* net: move `gitno` buffer to `staticstr`Edward Thomson2023-05-132-2/+0
| | | | | | | | The `gitno` buffer interface is another layer on top of socket reads. Abstract it a bit into a "static string" that has `git_str` like semantics but without heap allocation which moves the actual reading logic into the socket / stream code, and allows for easier future usage of a static / stack-allocated `git_str`-like interface.
* url: only allow @s in usernames for ssh urlsEdward Thomson2022-06-171-0/+5
| | | | | | Enforce the RFC for other protocols; Google's questionable choices about malformed SSH protocols shouldn't impact our ability to properly parse HTTPS.
* url_parse: introduce our own url parsingEdward Thomson2022-06-171-0/+217
| | | | | Provide our own url parser, so that we can handle Google Code's "fun" URLs that have a userinfo with an `@` in it. :cry:
* url: test that we don't expand % encoding in pathsEdward Thomson2022-06-171-0/+12
|
* url: remove invalid scp url parsing testEdward Thomson2022-06-161-4/+0
| | | | | | The url::scp::invalid_addresses test attempts to test an invalid IPv6 address. It does not, it calls the regular URL parsing function which treats it like a possibly invalid scheme.
* net: move url tests into utilEdward Thomson2022-06-166-0/+1339