browser_window: Set referer and flags in ssl error pathway
To make the SSL error pathway consistent with the other error pathways, set the referer and the fetch parameter flags the same as the others. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
ea142abdd0
commit
0840613ac2
|
@ -1135,6 +1135,8 @@ browser_window__handle_bad_certs(struct browser_window *bw,
|
|||
memset(¶ms, 0, sizeof(params));
|
||||
|
||||
params.url = nsurl_ref(corestring_nsurl_about_query_ssl);
|
||||
params.referrer = nsurl_ref(url);
|
||||
params.flags = BW_NAVIGATE_HISTORY | BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE | BW_NAVIGATE_INTERNAL;
|
||||
|
||||
err = fetch_multipart_data_new_kv(¶ms.post_multipart,
|
||||
"siteurl",
|
||||
|
|
Loading…
Reference in New Issue