Skip Menu |

This queue is for tickets about the SVN-Log CPAN distribution.

Report information
The Basics
Id: 127225
Status: new
Priority: 0/
Queue: SVN-Log

People
Owner: Nobody in particular
Requestors: sebastien.fieux [...] capgemini.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: New bug report: username incorrectly parsed when containing other characters than A-Za-z0-9_
Date: Thu, 27 Sep 2018 15:47:19 +0000
To: "bug-SVN-Log [...] rt.cpan.org" <bug-SVN-Log [...] rt.cpan.org>
From: "Fieux, Sebastien" <sebastien.fieux [...] capgemini.com>
Hi, I noticed a bug when analysing SVN ::log ::retrieve using svn command line : all commits done by a user whose name contains '-' are not parsed. I had to change line 212 of SVN-Log-0.03 / lib / SVN / Log.pm to set this particular regexp: my $headrule = qr/r(\d+) \| ((\w|-)+) \| (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})/; Searching for a more general correction, it seems that Unix usernames regexp might be [a-z_][a-z0-9_-]*[\$]? . Source for it is man page of the useradd linux command (according to this page: https://unix.stackexchange.com/questions/157426/what-is-the-regex-to-validate-linux-users). Regards, SF This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.