git-annex/Remote
Joey Hess a2fc471e14
safer git sha object filename
Rather than use the filename provided by INPUT, which could come from user
input, and so could be something that looks like a dashed parameter,
use a .git/object/<sha> filename.

This avoids user input passing through INPUT and back out, with the file
path then passed to a command, which could do something unexpected with
a dashed parameter, or other special parameter.

Added a note in the design about being careful of passing user input to
commands. They still have to be careful of that in general, just not in
this case.
2025-03-04 14:54:13 -04:00
..
Directory more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
External more OsPath conversion 2025-01-28 16:31:19 -04:00
Helper more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
List compute remote: get input files from other remotes 2025-03-04 11:06:58 -04:00
Rsync more OsPath conversion 2025-01-28 16:31:19 -04:00
WebDAV more OsPath conversion 2025-01-28 15:46:00 -04:00
Adb.hs OsPath conversion of Remote.Adb 2025-02-05 11:16:20 -04:00
BitTorrent.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Borg.hs more OsPath conversion (650/749) 2025-02-07 17:03:31 -04:00
Bup.hs more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
Compute.hs safer git sha object filename 2025-03-04 14:54:13 -04:00
Ddar.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Directory.hs push down OsPath into CopyFile 2025-02-12 13:11:27 -04:00
External.hs more OsPath conversion (475/749) 2025-02-05 12:14:56 -04:00
GCrypt.hs more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
Git.hs remove unused adjustedBranchRefresh associated file parameter 2025-02-21 14:51:02 -04:00
GitLFS.hs improve apiurl description 2025-02-18 14:46:10 -04:00
Glacier.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Hook.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
HttpAlso.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
List.hs wip 2025-02-20 13:27:47 -04:00
P2P.hs added retrieveKeyFileInOrder and ORDERED to external special remote protocol 2024-10-15 15:40:14 -04:00
Rclone.hs rclone special remote 2024-04-17 15:20:37 -04:00
Rsync.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
S3.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
Tahoe.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
Web.hs refactor 2025-02-27 16:17:42 -04:00
WebDAV.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00