SF.net SVN: postfixadmin: [247] trunk/users/edit-alias.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2007-11-27 21:52:59
|
Revision: 247 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=247&view=rev Author: christian_boltz Date: 2007-11-27 13:53:02 -0800 (Tue, 27 Nov 2007) Log Message: ----------- users/edit-alias.php: - trim() goto targets to avoid wrong messages about empty goto field if first line is empty https://sourceforge.net/tracker/index.php?func=detail&aid=1839061&group_id=191583&atid=937964 Modified Paths: -------------- trunk/users/edit-alias.php Modified: trunk/users/edit-alias.php =================================================================== --- trunk/users/edit-alias.php 2007-11-27 21:42:03 UTC (rev 246) +++ trunk/users/edit-alias.php 2007-11-27 21:53:02 UTC (rev 247) @@ -72,7 +72,7 @@ $pEdit_alias_goto = $PALANG['pEdit_alias_goto']; if (isset ($_POST['fVacation'])) $fVacation = $_POST['fVacation']; - if (isset ($_POST['fGoto'])) $fGoto = escape_string ($_POST['fGoto']); + if (isset ($_POST['fGoto'])) $fGoto = escape_string (trim($_POST['fGoto'])); if (isset ($_POST['fForward_and_store'])) $fForward_and_store = escape_string ($_POST['fForward_and_store']); $goto = strtolower ($fGoto); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |