소스 검색

Removed directory handler debug log

Toby Chui 3 년 전
부모
커밋
f843087a3d
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/mod/user/directoryHandler.go

+ 0 - 2
src/mod/user/directoryHandler.go

@@ -2,7 +2,6 @@ package user
 
 import (
 	"errors"
-	"log"
 	"os"
 	"path/filepath"
 	"strings"
@@ -88,7 +87,6 @@ func (u *User) VirtualPathToRealPath(vpath string) (string, error) {
 	}
 
 	if strings.Contains(filepath.Clean(subpath), "..") {
-		log.Println(filepath.Clean(subpath))
 		return "", errors.New("Request path out of storage root")
 	}