diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2025-03-24 13:39:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 13:39:02 +0100 |
commit | cdc2e8b9c82acb45218e7c34d2e1d39bfbdf2b89 (patch) | |
tree | 1be455f7e3dd52a2295398cec4efefc02a8faa0f | |
parent | 214ac4c4a31ff13cc8facde582ef8ef1dba05dc2 (diff) | |
parent | 1ce593311b446857e7fb635395de2be876ca2039 (diff) | |
download | nextcloud-server-cdc2e8b9c82acb45218e7c34d2e1d39bfbdf2b89.tar.gz nextcloud-server-cdc2e8b9c82acb45218e7c34d2e1d39bfbdf2b89.zip |
Merge pull request #51663 from nextcloud/fix/fix-loginflow-v1
fix: Go back to soft typing for template function p
-rw-r--r-- | lib/private/Template/functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Template/functions.php b/lib/private/Template/functions.php index 4354d0d8fce..957aaee2237 100644 --- a/lib/private/Template/functions.php +++ b/lib/private/Template/functions.php @@ -13,7 +13,10 @@ use OCP\IURLGenerator; use OCP\Server; use OCP\Util; -function p(string $string): void { +/** + * @param string $string + */ +function p($string): void { print(Util::sanitizeHTML($string)); } |