alist/server/common
千石 fcfb3369d1
fix: webdav error location (#9266)
* feat: improve WebDAV permission handling and user role fetching

- Added logic to handle root permissions in WebDAV requests.
- Improved the user role fetching mechanism.
- Enhanced path checks and permission scopes in role_perm.go.
- Set FetchRole function to avoid import cycles between modules.

* fix(webdav): resolve connection reset issue by encoding paths

- Adjust path encoding in webdav.go to prevent connection reset.
- Utilize utils.EncodePath for correct path formatting.
- Ensure proper handling of directory paths with trailing slash.

* fix(webdav): resolve connection reset issue by encoding paths

- Adjust path encoding in webdav.go to prevent connection reset.
- Utilize utils.FixAndCleanPath for correct path formatting.
- Ensure proper handling of directory paths with trailing slash.

* fix: resolve webdav handshake error in permission checks

- Updated role permission logic to handle bidirectional subpaths.
- This adjustment fixes the issue where remote host terminates the
  handshake due to improper path matching.

* fix: resolve webdav handshake error in permission checks (fix/fix-webdav-error)

- Updated role permission logic to handle bidirectional subpaths,
  fixing handshake termination by remote host due to path mismatch.
- Refactored function naming for consistency and clarity.
- Enhanced filtering of objects based on user permissions.

* fix: resolve webdav handshake error in permission checks

- Updated role permission logic to handle bidirectional subpaths,
  fixing handshake termination by remote host due to path mismatch.
- Refactored function naming for consistency and clarity.
- Enhanced filtering of objects based on user permissions.
2025-08-15 23:10:55 +08:00
..
auth.go feat: invalidate token on logout (#6923 close #6792) 2024-08-04 12:32:39 +08:00
base.go perf: Speed ​​of database initialization (#7694) 2024-12-25 21:08:22 +08:00
check.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
check_test.go fix: path `IsApply` check (close #3784) 2023-03-09 21:03:56 +08:00
common.go feat(recursive-move): Advanced conflict policy for preventing unintentional overwriting (#7906) 2025-02-09 18:32:57 +08:00
hide_privacy_test.go fix: hide access_token in error message of `baidu_netdisk` 2022-09-03 19:48:11 +08:00
proxy.go fix(net): unexpected write (#8291 close #8281) 2025-04-12 17:01:52 +08:00
resp.go feat: add alist v3 driver (close #1833 pr #2129) 2022-10-27 10:54:49 +08:00
role_perm.go fix: webdav error location (#9266) 2025-08-15 23:10:55 +08:00
sign.go feat: optional sign all files 2022-11-30 22:10:07 +08:00