diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | control-center | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- do not crash when selecting "Reload" in contextual menu (#44226) - make icon+text act as a single item for links - make sure --save-html-pages write UTF-8 files - use gray gradient in right background diff --git a/control-center b/control-center index 4f618ffa..ca1dc3ce 100755 --- a/control-center +++ b/control-center @@ -928,6 +928,10 @@ $view->signal_connect('navigation-requested' => $url =~ s!file:///!!; $url =~ s!%20! !g; + if (!$tool_callbacks{$url}) { + warn "Warning: invalid tool name: $url\n"; + return; + } $tool_callbacks{$url}->(); # FIXME: the following code is currently useless: # should we provide a way to kill buggy embedded programs ? |