]> git.ipfire.org Git - thirdparty/sarg.git/commit
Fix creation of the report's file name from the mangling of the user name
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 27 Dec 2010 12:30:34 +0000 (12:30 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 27 Dec 2010 12:30:34 +0000 (12:30 +0000)
commitd09d93c695563e91bf7ff071f9072079063aaeb5
tree2bab971cc8d4f206327eacf55fa855748ca44042
parentddcf5214813008d25ea9b6de13dd3099e27e9718
Fix creation of the report's file name from the mangling of the user name

The directory and file name to store a user's report is produced by
replacing any character but the letters, digits and a few safe
characters from the user name. But that name mangling was not dealing
properly with consecutive invalid characters. The result was, at best,
a truncated file name (without any real consequence) or, at worst, an
invalid character left in the file name.
userinfo.c