[interchange-cvs] [SCM] Interchange branch, master, updated. 02589c98a11fedc76553c6496baf980f564f90cb

Stefan Hornburg interchange-cvs at icdevgroup.org
Sat Aug 29 16:15:41 UTC 2009

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  02589c98a11fedc76553c6496baf980f564f90cb (commit)
      from  7782df5e3fee9172cac0e923ce731fafb6a89eb5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 02589c98a11fedc76553c6496baf980f564f90cb
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Sat Aug 29 18:15:02 2009 +0200

    added newline in order to suppress file and line output in error message


Summary of changes and diff:
 lib/Vend/UserDB.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm
index f12bf12..5706583 100644
--- a/lib/Vend/UserDB.pm
+++ b/lib/Vend/UserDB.pm
@@ -1849,7 +1849,7 @@ sub new_account {
 		# plain error message without user-supplied username
 		# to avoid XSS exploit (RT #306)
-		die errmsg("Username contains illegal characters.")
+		die errmsg("Username contains illegal characters.\n")
 			if $self->{USERNAME} !~ m{^$self->{VALIDCHARS}+$};
 		die errmsg("Must have at least %s characters in username.",
 			$self->{USERMINLEN}) . "\n"


More information about the interchange-cvs mailing list