Fix problem with profile field possibleValues with apostrophes in i18n
substitutions not working.
This commit is contained in:
parent
f11b0b8b85
commit
3b4943177f
2 changed files with 4 additions and 2 deletions
|
|
@ -26,6 +26,7 @@
|
|||
post containing the login credentials is sent over https. After authentication
|
||||
the user is redirected to http. (Martin Kamerbeek / Procolix)
|
||||
- fix: RSS From Parent assets should always be hidden from navigation
|
||||
- fix: profile field i18ned possibleValues with apostrophes failing
|
||||
|
||||
7.2.3
|
||||
- fix: minor bug with new template vars in Auth::createAccount
|
||||
|
|
|
|||
|
|
@ -109,8 +109,9 @@ sub secureEval {
|
|||
my @param = split (/,\s*/,$2);
|
||||
@param = map { s/^['"]|['"]$//g; $_; } @param;
|
||||
my $output = $trusted{$function}(@param);
|
||||
return $output if (ref $output);
|
||||
$code =~ s/\Q$cmd/'$output'/g;
|
||||
return $output if (ref $output);
|
||||
$output =~ s/\'/\\\'/g;
|
||||
$code =~ s/\Q$cmd/\'$output\'/g;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue