Procházet zdrojové kódy

Removed debug message

TC pushbot 5 před 4 roky
rodič
revize
6808ab0f01
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      mod/user/directoryHandler.go

+ 0 - 2
mod/user/directoryHandler.go

@@ -2,7 +2,6 @@ package user
 
 import (
 	"errors"
-	"log"
 	"os"
 	"path/filepath"
 	"strings"
@@ -109,7 +108,6 @@ func (u *User) RealPathToVirtualPath(rpath string) (string, error) {
 		allowSpecialCasePassThrough := false
 		for _, fsh := range userFsHandlers {
 			thisVrootPath := fsh.Path
-			log.Println(filepath.ToSlash(realPath[:len(thisVrootPath)]), thisVrootPath)
 			if len(realPath) > len(thisVrootPath) && filepath.ToSlash(realPath[:len(thisVrootPath)]) == filepath.ToSlash(thisVrootPath) {
 				allowSpecialCasePassThrough = true
 			}