opf/openproject — pull request #1474 by bjornblissing (2014-06-16 09:04:16+00:00)
Title: Replacement perl script for access control with apache, mod_dav_svn and mod_perl

The perl script responsible for doing access control with apache and mod_dav_svn found in:

> /extra/svn/Redmine.pm

was removed in commit:
40d394bd83bcdc0d802ff10b14a906949243874a

The file was removed due to changes in the database format of OpenProject. But the bug fix needed to get it working was quite easy and included the following changes to the original script:

1. Since this script now works with OpenProject databases instead of Redmine databases, I decided to rename all functions and the script to OpenProject. *(I used a simple Search and Replace)*
2. Modifying the SQL question to suit the new database format.
3. Using the new SHA function instead of the old deprecated SHA1.

**Note:**
I have only tested the script for authentication against the openproject database. I have *NOT* tested against authentication LDAP, so no guarantees for that.