Revision 64dc1c9b
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
SL/Locale.pm | ||
---|---|---|
271 | 271 |
$sub_name = first { defined(&{ "::${_}" }) } @{ $self->{texts_reverse}->{$text_rev} } if $self->{texts_reverse}->{$text_rev}; |
272 | 272 |
$sub_name ||= $text_rev if ($text_rev =~ m/^[a-z][a-z0-9_]+$/) && defined &{ "::${text_rev}" }; |
273 | 273 |
|
274 |
$main::form->error("$text not defined in locale/$self->{countrycode}/all") if !$sub_name;
|
|
274 |
$main::form->error($self->quote_special_chars('HTML', "$text not defined in locale/$self->{countrycode}/all")) if !$sub_name;
|
|
275 | 275 |
|
276 | 276 |
$main::lxdebug->leave_sub(); |
277 | 277 |
|
Auch abrufbar als: Unified diff
S:Locale: findsub: XSS