summaryrefslogtreecommitdiff
path: root/tests/core-response.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-04-14 21:38:44 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2018-08-05 03:44:15 -0400
commit1593190651fc36e06c8a31dbdf947be8462f9a00 (patch)
tree8a327d9ab664b66ab88115dd08a647851c2997d2 /tests/core-response.t
parent3d880810d11149f4e1157abd65b032e1f435076c (diff)
downloadlighttpd1.4-1593190651fc36e06c8a31dbdf947be8462f9a00.tar.gz
lighttpd1.4-1593190651fc36e06c8a31dbdf947be8462f9a00.zip
[core] buffer_append_string_encoded() uc hex
Use uc hex chars in buffer_append_string_encoded(), preferred in RFC3986 Preserve behavior using lc hex chars in buffer_append_string_c_escaped()
Diffstat (limited to 'tests/core-response.t')
-rwxr-xr-xtests/core-response.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core-response.t b/tests/core-response.t
index 5cd784c4..29aee6a4 100755
--- a/tests/core-response.t
+++ b/tests/core-response.t
@@ -90,14 +90,14 @@ $t->{REQUEST} = ( <<EOF
GET /~test%20ä_ HTTP/1.0
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 301, 'Location' => 'http://'.$tf->{HOSTNAME}.':'.$tf->{PORT}.'/~test%20%c3%a4_/' } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 301, 'Location' => 'http://'.$tf->{HOSTNAME}.':'.$tf->{PORT}.'/~test%20%C3%A4_/' } ];
ok($tf->handle_http($t) == 0, 'internal redirect in directory with special characters');
$t->{REQUEST} = ( <<EOF
GET /~test%20ä_?foo HTTP/1.0
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 301, 'Location' => 'http://'.$tf->{HOSTNAME}.':'.$tf->{PORT}.'/~test%20%c3%a4_/?foo' } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 301, 'Location' => 'http://'.$tf->{HOSTNAME}.':'.$tf->{PORT}.'/~test%20%C3%A4_/?foo' } ];
ok($tf->handle_http($t) == 0, 'internal redirect in directory with special characters + querystring');
## simple-vhost