mirror of
https://github.com/YGGverse/nexy.git
synced 2026-04-02 02:05:29 +00:00
dump resolved path info
This commit is contained in:
parent
32291dd630
commit
819a522268
3 changed files with 10 additions and 7 deletions
|
|
@ -50,7 +50,7 @@ impl Public {
|
|||
match p.canonicalize() {
|
||||
Ok(c) => {
|
||||
if !c.starts_with(&self.public_dir) {
|
||||
return callback(Response::AccessDenied { query });
|
||||
return callback(Response::AccessDenied { query, path: c });
|
||||
}
|
||||
c
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue