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