- 01 Aug, 2023 2 commits
-
-
Introduce a url parser that defaults to treating poorly specified URLs as http URLs. For example: `localhost:8080` is treated as `http://localhost:8080/` by the http-biased url parsing, instead of a URL with a scheme `localhost` and a path of `8080`..
Edward Thomson committed -
Refactor url parsing to simplify the state-passing (introducing a struct) and add a path parser for future reusability.
Edward Thomson committed
-
- 13 May, 2023 1 commit
-
-
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.
Edward Thomson committed
-
- 17 Jun, 2022 3 commits
-
-
Enforce the RFC for other protocols; Google's questionable choices about malformed SSH protocols shouldn't impact our ability to properly parse HTTPS.
Edward Thomson committed -
Provide our own url parser, so that we can handle Google Code's "fun" URLs that have a userinfo with an `@` in it.
Edward Thomson committed -
Edward Thomson committed
-
- 16 Jun, 2022 2 commits
-
-
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.
Edward Thomson committed -
Edward Thomson committed
-