From 75717629440efe911f53beafb691b05362b04197 Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Mon, 1 Sep 2003 22:59:56 +0000 Subject: [PATCH] htmlspecialchars() folder names. Seem to be the last ones. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5604 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/folders_rename_getname.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/folders_rename_getname.php b/src/folders_rename_getname.php index 1b8066d7..f7c5b8b5 100644 --- a/src/folders_rename_getname.php +++ b/src/folders_rename_getname.php @@ -66,12 +66,13 @@ echo '
' . html_tag( 'td', '', 'center', $color[4] ) . '
'. _("New name:"). - "
$old_parent $delimiter
\n"; + '
' . htmlspecialchars($old_parent) . ' ' . htmlspecialchars($delimiter) . '' . + '
' . "\n"; if ( $isfolder ) { echo ''; } -printf("\n", $old); -printf("\n", $old_name); +printf("\n", htmlspecialchars($old)); +printf("\n", htmlspecialchars($old_name)); echo '\n". '

'; -- 2.25.1