From: alex-brainstorm Date: Mon, 1 Sep 2003 22:59:56 +0000 (+0000) Subject: htmlspecialchars() folder names. Seem to be the last ones. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=75717629440efe911f53beafb691b05362b04197;p=squirrelmail.git 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 --- 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". '

';