mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Remove debug code.
This commit is contained in:
@@ -24,6 +24,7 @@ class BasicAuthenticationFilter extends Filter with RepositoryService with Accou
|
|||||||
val paths = request.getRequestURI.split("/")
|
val paths = request.getRequestURI.split("/")
|
||||||
val repositoryOwner = paths(2)
|
val repositoryOwner = paths(2)
|
||||||
val repositoryName = paths(3).replaceFirst("\\.git$", "")
|
val repositoryName = paths(3).replaceFirst("\\.git$", "")
|
||||||
|
println(request.getRequestURI)
|
||||||
getRepository(repositoryOwner, repositoryName, request.getServletContext) match {
|
getRepository(repositoryOwner, repositoryName, request.getServletContext) match {
|
||||||
case Some(repository) => {
|
case Some(repository) => {
|
||||||
if(!request.getRequestURI.endsWith("/git-receive-pack") &&
|
if(!request.getRequestURI.endsWith("/git-receive-pack") &&
|
||||||
|
|||||||
Reference in New Issue
Block a user