diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-11-29 15:41:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-29 15:41:44 -0800 |
commit | 96eca029bf96dd739c0868ed8cf56cdcf1a248f4 (patch) | |
tree | 29990b3f894e3f96fd6a1334a8726251cf3741d2 /t | |
parent | Sync with 2.34.1 (diff) | |
parent | urlmatch: add underscore to URL_HOST_CHARS (diff) | |
download | tgif-96eca029bf96dd739c0868ed8cf56cdcf1a248f4.tar.xz |
Merge branch 'jk/loosen-urlmatch'
Treat "_" as any other URL-valid characters in an URL when matching
the per-URL configuration variable names.
* jk/loosen-urlmatch:
urlmatch: add underscore to URL_HOST_CHARS
Diffstat (limited to 't')
-rwxr-xr-x | t/t0110-urlmatch-normalization.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0110-urlmatch-normalization.sh b/t/t0110-urlmatch-normalization.sh index f99529d838..4dc9fecf72 100755 --- a/t/t0110-urlmatch-normalization.sh +++ b/t/t0110-urlmatch-normalization.sh @@ -47,7 +47,7 @@ test_expect_success 'url authority' ' test-tool urlmatch-normalization "scheme://@host" && test-tool urlmatch-normalization "scheme://%00@host" && ! test-tool urlmatch-normalization "scheme://%%@host" && - ! test-tool urlmatch-normalization "scheme://host_" && + test-tool urlmatch-normalization "scheme://host_" && test-tool urlmatch-normalization "scheme://user:pass@host/" && test-tool urlmatch-normalization "scheme://@host/" && test-tool urlmatch-normalization "scheme://host/" && |