Source: redmine
Version: 3.0~20140825-8
Severity: normal
Tags: patch


within debian stable the following doenst work:
- checking out the repository of a public project
- while u can browse in redmine it using a webbrowser 

this was a bug which was fixed in

the fix for debian is bit different since the versions are different


diff --git a/extra/svn/ b/extra/svn/
--- a/extra/svn/
+++ b/extra/svn/
@@ -333,10 +333,10 @@ sub access_handler {
   my $project_id = get_project_identifier($r);
-  $r->set_handlers(PerlAuthenHandler => [\&OK])
-      if is_public_project($project_id, $r) && 
+  if (is_public_project($project_id, $r) && 
anonymous_role_allows_browse_repository($r)) {
+    $r->user("");
+    $r->set_handlers(PerlAuthenHandler => [\&OK]);
+  }
   return OK


-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.utf8, LC_CTYPE=nl_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to