When static path contains spaces, server returns 404 error. Code: ``` e := echo.New() e.Static("/storage", config.Main.StorageDir); //config.Main.StorageDir contains string "storage" e.GET("/", api.Index) .... Some e.POST .... err = e.Start(fmt.Sprintf("%s:%d", config.Main.ServerListen, config.Main.ServerPort)) ``` "storage" directory structure for example: ``` storage/1.txt //Contains record "1" storage/1 1.txt //Contains record "1 1" ``` ``` manfredmann@lucille ~/G/mhapiserver> curl "http://localhost:3000/storage/1.txt" 1 manfredmann@lucille ~/G/mhapiserver> curl "http://localhost:3000/storage/1%201.txt" {"message":"Not Found"} manfredmann@lucille ~/G/mhapiserver> ```
Activity
Fixed labstack#839