mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
This commit is contained in:
@@ -74,7 +74,7 @@ class Password_Controller extends Controller {
|
||||
|
||||
log::success(
|
||||
"user",
|
||||
t("Password reset email sent for user %name", array("name" => p::clean($user->name))));
|
||||
t("Password reset email sent for user %name", array("name" => $user->name)));
|
||||
} else {
|
||||
// Don't include the username here until you're sure that it's XSS safe
|
||||
log::warning(
|
||||
|
||||
Reference in New Issue
Block a user