[libsoup/hsts: 91/101] Actually check that an insecure STS header is ignored
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/hsts: 91/101] Actually check that an insecure STS header is ignored
- Date: Thu, 20 Sep 2018 14:27:06 +0000 (UTC)
commit ec7ce47221c1fce89c8467ce3d9ac8e5d3f19ce7
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Aug 30 16:04:55 2018 +0300
Actually check that an insecure STS header is ignored
tests/hsts-test.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index 54981fae..e3ce7d80 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -301,6 +301,7 @@ do_hsts_insecure_sts_test (void)
{
SoupSession *session = hsts_session_new (NULL);
session_get_uri (session, "http://localhost/insecure", SOUP_STATUS_OK);
+ session_get_uri (session, "http://localhost", SOUP_STATUS_MOVED_PERMANENTLY);
soup_test_session_abort_unref (session);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]