diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-25 19:47:12 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-25 23:03:25 (EDT) |
commit | 8a630885f77b1de30f9e853001f1c02a563d7c96 (patch) | |
tree | b4878a5159a865d8c3a01d10363d24d14c825f8c /src | |
parent | e62c6624caadedf32648a5525d799ba9bc12f800 (diff) | |
download | marquee-8a630885f77b1de30f9e853001f1c02a563d7c96.zip marquee-8a630885f77b1de30f9e853001f1c02a563d7c96.tar.gz marquee-8a630885f77b1de30f9e853001f1c02a563d7c96.tar.bz2 |
MqApplication: Register "mq-about" as a local scheme
Diffstat (limited to 'src')
-rw-r--r-- | src/application.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c index 0047b0c..e926e6f 100644 --- a/src/application.c +++ b/src/application.c @@ -52,6 +52,9 @@ set_webkit_settings(MqApplication *application) webkit_web_context_register_uri_scheme(web_context, "mq-about", (WebKitURISchemeRequestCallback) mq_about_request, application, NULL); + webkit_security_manager_register_uri_scheme_as_local( + webkit_web_context_get_security_manager(web_context), + "mq-about"); mq_web_settings_connect(application->config, application->settings, web_context); |