rear icon indicating copy to clipboard operation
rear copied to clipboard

Potential issues with backup path containing glob or whitespace characters

Open pcahyna opened this issue 1 year ago • 2 comments

Follow-up to https://github.com/rear/rear/pull/3242.

PR https://github.com/rear/rear/pull/3242 fixes some instances of unquoted $mountpoint expansion, but some remain:

https://github.com/rear/rear/pull/3242#discussion_r1636209286 https://github.com/rear/rear/pull/3242#discussion_r1636210756 https://github.com/rear/rear/pull/3242#discussion_r1636223326 https://github.com/rear/rear/pull/3242#discussion_r1636227269 https://github.com/rear/rear/pull/3242#discussion_r1636227586 https://github.com/rear/rear/pull/3242#discussion_r1636227732 https://github.com/rear/rear/pull/3242#discussion_r1636228126

I suppose that this might be a problem either if the URL contains a path with glob or whitespace characters, or if the temporary mountpoint path name contains such characters (which could happen when TMPDIR contains them), depending on usage.

pcahyna avatar Jun 18 '24 13:06 pcahyna

ReaR v3.1 milestone according to https://github.com/rear/rear/pull/3242#issuecomment-2177724492

jsmeix avatar Jun 19 '24 12:06 jsmeix

Stale issue message

github-actions[bot] avatar Feb 14 '25 02:02 github-actions[bot]