diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- workaround latest webkit breaking mcc (bis repetita) (teuf) + Version 12.13 - 29 July 2009, Thierry Vignaud - control-center: 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"; |