#3256 Issue open: Potential issues with backup path containing glob or whitespace characters

Labels: cleanup

pcahyna opened issue at 2024-06-18 13:27:

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.

jsmeix commented at 2024-06-19 12:02:

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


[Export of Github issue for rear/rear.]