Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit3cf773a201f43573ad77876792f0a79843dfec27 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-10-31 13:25:35 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-10-31 13:25:35 +0100
Files7e0592cf023f05e5cb315444c5f87be320159518
goodwolf-3cf773a201f43573ad77876792f0a79843dfec27.tar
goodwolf-3cf773a201f43573ad77876792f0a79843dfec27.tar.gz
goodwolf-3cf773a201f43573ad77876792f0a79843dfec27.zip
Parentc31526e3a15ae326bbd08942c523dfc9baa82e4d (diff)
badwolf.c: enable sandboxing
1 files changed, 1 insertions, 0 deletions
-rw-r--r--badwolf.c1
diff --git a/badwolf.c b/badwolf.c
index 0c4cfa7..10c019b 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -496,6 +496,7 @@ new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web
browser->search = gtk_search_entry_new();
WebKitWebContext *web_context = webkit_web_context_new_ephemeral();
+ webkit_web_context_set_sandbox_enabled(web_context, TRUE);
webkit_web_context_set_process_model(web_context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);