gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 26/411: lib1560: verify "redirect" to double-slash leading URL


From: gnunet
Subject: [gnurl] 26/411: lib1560: verify "redirect" to double-slash leading URL
Date: Wed, 13 Jan 2021 01:17:21 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 259a81555d4081952f6b7e30b5fa86fff356869b
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Tue Aug 25 09:56:52 2020 +0200

    lib1560: verify "redirect" to double-slash leading URL
    
    Closes #5849
---
 tests/libtest/lib1560.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c
index d158534d7..20f852310 100644
--- a/tests/libtest/lib1560.c
+++ b/tests/libtest/lib1560.c
@@ -686,6 +686,14 @@ static CURLUcode updateurl(CURLU *u, const char *cmd, 
unsigned int setflags)
 }
 
 static struct redircase set_url_list[] = {
+  {"http://example.org/static/favicon/wikipedia.ico";,
+   "//fake.example.com/licenses/by-sa/3.0/",
+   "http://fake.example.com/licenses/by-sa/3.0/";,
+   0, 0, 0},
+  {"https://example.org/static/favicon/wikipedia.ico";,
+   "//fake.example.com/licenses/by-sa/3.0/",
+   "https://fake.example.com/licenses/by-sa/3.0/";,
+   0, 0, 0},
   {"file://localhost/path?query#frag",
    "foo#another",
    "file:///foo#another",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]