mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
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. |
||
|---|---|---|
| .. | ||
| arsd | ||
| notifications | ||
| clientSideFiltering.d | ||
| config.d | ||
| curlEngine.d | ||
| curlWebsockets.d | ||
| intune.d | ||
| itemdb.d | ||
| log.d | ||
| main.d | ||
| monitor.d | ||
| onedrive.d | ||
| qxor.d | ||
| socketio.d | ||
| sqlite.d | ||
| sync.d | ||
| util.d | ||
| webhook.d | ||
| xattr.d | ||