diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2022-12-13 01:02:30 +0100 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@qt.io> | 2022-12-14 12:39:33 +0100 |
commit | df26edf16ab6012f741efca4bb6372ac4f1b1e02 (patch) | |
tree | 89227ec541de986e25fa8dbc15a63bef3a037b78 /tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html | |
parent | 5d89f26414471689a9626515d098104e38bacbda (diff) |
Recreate response head objects on multiple redirect
The previous response head gets moved when redirecting, which lead to
dereferencing a null pointer on the next redirect.
Fixes: QTBUG-109357
Change-Id: Iaad1c46b8d4ca9720f1749980a9e06337ca0f3d8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit c6b2b5d8038b3ec0de6233c1e21df60ade11c81b)
Diffstat (limited to 'tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html')
-rw-r--r-- | tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html b/tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html new file mode 100644 index 000000000..84bf55036 --- /dev/null +++ b/tests/auto/core/qwebengineurlrequestinterceptor/resources/content3.html @@ -0,0 +1,6 @@ +<html> +<head><link rel="icon" href="data:,"></head> +<body> +<a>Simple test page without favicon (meaning no separate request from http server)</a> +</body> +</html> |