我现在拥有的是:
$app->get(/folderBrowse/:path function($app){
bla bla bla
}); // I know this is not using '' or ,
but it's just for example, because I've tried it with many configurations. my
syntax is correct in my code, because it works fine when I don't pass a path
但是当我传递一个文件路径时,即使使用 URL 编码它也会给我一个 404 页面。有什么我想念的吗?
任何帮助将不胜感激。