Revision 31b977d6
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
bin/mozilla/menuv4.pl | ||
---|---|---|
46 | 46 |
$form->{date} = clock_line(); |
47 | 47 |
$form->{menu} = acc_menu(); |
48 | 48 |
my $callback = $form->unescape($form->{callback}); |
49 |
$main::lxdebug->message(0, ">>>>> $callback"); |
|
50 | 49 |
$callback = URI->new($callback)->rel($callback) if $callback; |
51 |
$main::lxdebug->message(0, ">>>>> $callback"); |
|
52 |
$callback = "login.pl?action=company_logo" if $callback =~ /^(.\/)?$/; |
|
53 |
$main::lxdebug->message(0, ">>>>> $callback"); |
|
50 |
$callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/; |
|
54 | 51 |
$form->{callback} = $callback; |
55 | 52 |
|
56 | 53 |
print $form->parse_html_template("menu/menuv4"); |
Auch abrufbar als: Unified diff
Regex korrekt escapen und Debugmeldungen.