[SCM] Interchange branch, STABLE_5_6-branch, updated. b6ac86dece128b6410f18b501f4b370ae746f073

Stefan Hornburg <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
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, STABLE_5_6-branch has been updated
       via  b6ac86dece128b6410f18b501f4b370ae746f073 (commit)
      from  061f546871ca9e245c5a7fbf89d5e9a226deacad (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 b6ac86dece128b6410f18b501f4b370ae746f073
Author: Stefan Hornburg (Racke) <[email protected]>
Date:   Sat Aug 29 18:12:01 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(-)
 mode change 100644 => 100755 lib/Vend/UserDB.pm

diff --git a/lib/Vend/UserDB.pm b/lib/Vend/UserDB.pm
old mode 100644
new mode 100755
index cc591aa..834bc17
--- a/lib/Vend/UserDB.pm
+++ b/lib/Vend/UserDB.pm
@@ -1697,7 +1697,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"


hooks/post-receive
-- 
Interchange
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.