X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenu.pl;h=a8b46973ac8d8e4e032fbb3637d544f57ee3fc87;hb=b3bde077a6df1550915b1433b2cabb4cf74ab681;hp=85efc5c370af07d8616cd4ff20757fa1523e395c;hpb=d0810c4289d895acfb8cf477125c6796c51945e3;p=kivitendo-erp.git
diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl
index 85efc5c37..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|