fix: restore symlink behavior as opt-in followExternalSymlinks

This commit is contained in:
Henrique Dias 2026-06-23 13:19:51 +02:00
parent 64511ce45e
commit a1063925e1
No known key found for this signature in database
23 changed files with 384 additions and 93 deletions

View file

@ -102,7 +102,7 @@ func withUser(fn handleFunc) handleFunc {
w.Header().Add("X-Renew-Token", "true")
}
d.user, err = d.store.Users.Get(d.server.Root, tk.User.ID)
d.user, err = d.store.Users.Get(d.server.Root, d.server.FollowExternalSymlinks, tk.User.ID)
if err != nil {
return http.StatusInternalServerError, err
}