X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenu.pl;h=a8b46973ac8d8e4e032fbb3637d544f57ee3fc87;hb=2dacd2790bb5e0990ec5fe89a9d59370b018c25c;hp=c51596dbb02573602c019e2c615dd33ce9596b60;hpb=54e4131e091831e00a861fe2c4f53e344b87ddca;p=kivitendo-erp.git
diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl
index c51596dbb..a8b46973a 100644
--- a/bin/mozilla/menu.pl
+++ b/bin/mozilla/menu.pl
@@ -38,6 +38,7 @@
$menufile = "menu.ini";
use SL::Menu;
use Data::Dumper;
+use URI;
1;
@@ -48,14 +49,18 @@ $framesize = ($ENV{HTTP_USER_AGENT} =~ /links/i) ? "240" : "190";
sub display {
$lxdebug->enter_sub();
+ my $callback = $form->unescape($form->{callback});
+ $callback = URI->new($callback)->rel($callback) if $callback;
+ $callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/;
+
$form->header;
print qq|