stable

Clone or download

Read-only

request #12524 SVN stats are not well collected if user name has a space

How to reproduce, have a LDAP user with a space in uid, perform a SVN action, check /var/log/httpd/svn_log, the line should have a space in user name like following example: 127.0.0.1 - name login [12/Nov/2018:01:24:04 +0100] /svnroot/repob/!svn/rvr/2448/convertsort/aliases/golden 200 "get-inherited-props /convertsort/aliases/golden r2448" Then execute postrotate actions logrotate -f /etc/logrotate.conf Access to project statistics, you should see informations about your user in it. Change-Id: Ia15a14507b96fc316d347521a9ffbc763d6ab28d

Modified Files

Name
M plugins/svn/include/Svn/Logs/Parser.php +1 −1 Go to diff View file
A plugins/svn/phpunit/.simpletest_skip +0 −0 Go to diff View file
A plugins/svn/phpunit/Svn/Logs/LastAccessUpdaterTest.php +65 −0 Go to diff View file
R plugins/svn/tests/Svn/Logs/ParserCoreAndPluginTest.php Go to diff View file
A plugins/svn/phpunit/Svn/Logs/ParserTest.php +190 −0 Go to diff View file
A plugins/svn/phpunit/Svn/Logs/_fixtures/svn-6.log +1 −0 Go to diff View file
R plugins/svn/tests/Svn/Logs/_fixtures/svn.1.log Go to diff View file
R plugins/svn/tests/Svn/Logs/_fixtures/svn.2.log Go to diff View file
R plugins/svn/tests/Svn/Logs/_fixtures/svn.3.log Go to diff View file
R plugins/svn/tests/Svn/Logs/_fixtures/svn.4.log Go to diff View file
R plugins/svn/tests/Svn/Logs/_fixtures/svn.5.log Go to diff View file
A plugins/svn/phpunit/bootstrap.php +21 −0 Go to diff View file
D plugins/svn/tests/Svn/Logs/LastAccessUpdaterTest.php +0 −55 Go to diff View file
D plugins/svn/tests/Svn/Logs/ParserTest.php +0 −168 Go to diff View file