diff options
Diffstat (limited to 'control-center')
-rwxr-xr-x | control-center | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/control-center b/control-center index 18ce4532..a2655d7a 100755 --- a/control-center +++ b/control-center @@ -974,6 +974,11 @@ $view->signal_connect('navigation-requested' => my $url = Glib::filename_from_uri($request->get_uri); $url =~ s!^/*!!; # not a path + # workaround wekbit calling navigation-requested with "/": + if (!$url) { + return 'accept'; + } + # do not crash on eg: "reload": if (!$tool_callbacks{$url}) { warn "Warning: invalid tool name: $url\n"; |