abraunegg-onedrive/src
abraunegg 44f68ca683
Prevent mis-configuration where 'recycle_bin_path' is inside 'sync_dir' (#3552)
This update adds validation to ensure the configured 'recycle_bin_path' is not located within the 'sync_dir'.
If the recycle bin is a child of the sync directory, any file moved into the recycle bin during online delete processing would be detected as a new local file and uploaded back to Microsoft OneDrive, creating a loop of re-uploads.

The client now:
* Expands and normalises the 'recycle_bin_path' (including tilde handling)
* Verifies that the resolved path is outside the configured 'sync_dir'
* Fails fast with a clear error message if the configuration is unsafe
* Prevents data churn, unexpected uploads, and confusing behaviour for users

This ensures correct, predictable behaviour when `use_recycle_bin = true` and avoids accidental mis-configuration.
2025-11-29 10:33:47 +11:00
..
arsd Add Gentoo package badge (#3278) 2025-05-18 06:16:54 +10:00
notifications Fix spelling problems as identified by GitHub Action check-spelling (#2946) 2024-11-04 11:32:18 +11:00
clientSideFiltering.d Fix Bug #3512: Unexpected deletion of empty nested folders during first sync with 'sync_list' (#3513) 2025-11-06 10:39:44 +11:00
config.d Prevent mis-configuration where 'recycle_bin_path' is inside 'sync_dir' (#3552) 2025-11-29 10:33:47 +11:00
curlEngine.d Implement FR #2360: Add websocket notification support (#3413) 2025-10-05 07:09:27 +11:00
curlWebsockets.d Fix WebSocket connection failure on libcurl 8.12.x by forcing HTTP/1.1 and disabling ALPN/NPN (#3482) 2025-10-17 20:50:20 +11:00
intune.d Fix Docker build post #3274 (#3297) 2025-05-26 17:56:57 +10:00
itemdb.d Fix Bug #3414: Fix SharePoint Shared Library DB Tie creation (#3419) 2025-08-11 06:34:14 +10:00
log.d Enhancement: Move curl debug logging to --debug-https (#3120) 2025-02-14 15:34:22 +11:00
main.d Prevent mis-configuration where 'recycle_bin_path' is inside 'sync_dir' (#3552) 2025-11-29 10:33:47 +11:00
monitor.d Fix Bug #3478: Fix application crash after deleting file locally (#3481) 2025-10-18 06:06:12 +11:00
onedrive.d Add debug logging output redaction (#3549) 2025-11-29 07:21:34 +11:00
qxor.d OneDrive Client for Linux v2.5.0 (#2805) 2024-09-16 11:14:46 +10:00
socketio.d Implement FR #2360: Add websocket notification support (#3413) 2025-10-05 07:09:27 +11:00
sqlite.d Fix Bug #3171: Fix empty folder or folder with onenotes are deleted online when content is shared from a SharePoint Library Document Root (#3163) 2025-04-04 18:56:23 +11:00
sync.d Add debug logging output redaction (#3549) 2025-11-29 07:21:34 +11:00
util.d Add debug logging output redaction (#3549) 2025-11-29 07:21:34 +11:00
webhook.d Implement FR #2360: Add websocket notification support (#3413) 2025-10-05 07:09:27 +11:00
xattr.d Fix Bug #3276: Fix implementation of 'write_xattr_data' to support FreeBSD (#3285) 2025-05-22 04:32:30 +10:00