git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v7 3/4] tests: add new test for the url_normalize function

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 22, 2013, 05:15 UTC
Message-ID
<7veharqip6.fsf@alter.siamese.dyndns.org>
In-Reply-To
<185ed81d5965642db680fa361ee07ce@f74d39fa044aa309eaea14b9f57fe79>
"Kyle J. McKay" <mackyle@gmail.com> writes:
Show 8 quoted lines
> +test_expect_success 'url general escapes' '
> +	! test-url-normalize "http://x.y?%fg" &&
> +	test "$(test-url-normalize -p "X://W/%7e%41^%3a")" = "x://w/~A%5E%3A" &&
> +	test "$(test-url-normalize -p "X://W/:/?#[]@")" = "x://w/:/?#[]@" &&
> +	test "$(test-url-normalize -p "X://W/$&()*+,;=")" = "x://w/$&()*+,;=" &&
> +	test "$(test-url-normalize -p "X://W/'\''")" = "x://w/'\''" &&
> +	test "$(test-url-normalize -p "X://W?'\!'")" = "x://w/?'\!'"
> +';#'
Hmm,... what is the magic on the last line about?
Previous: Kyle J. McKayNext: Kyle J. McKay
Message 5 of 11 in “config: add support for http.<url>.* settings”
  1. 0/4 config: add support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  2. 1/4 config: add support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  3. 2/4 config: improve support for http.<url>.* settingsKyle J. McKay, Jul 22, 2013
  4. 3/4 tests: add new test for the url_normalize functionKyle J. McKay, Jul 22, 2013
  5. Junio C HamanoJul 22, 2013
  6. Kyle J. McKayJul 22, 2013
  7. Junio C HamanoJul 22, 2013
  8. Kyle J. McKayJul 22, 2013
  9. 4/4 config: allow http.<url>.* any user matchingKyle J. McKay, Jul 22, 2013
  10. Junio C HamanoJul 22, 2013
  11. Kyle J. McKayJul 22, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.