git-annex/Assistant/WebApp/Configurators
Joey Hess cd544e548b
filter out control characters in error messages
giveup changed to filter out control characters. (It is too low level to
make it use StringContainingQuotedPath.)

error still does not, but it should only be used for internal errors,
where the message is not attacker-controlled.

Changed a lot of existing error to giveup when it is not strictly an
internal error.

Of course, other exceptions can still be thrown, either by code in
git-annex, or a library, that include some attacker-controlled value.
This does not guard against those.

Sponsored-by: Noam Kremen on Patreon
2023-04-10 13:50:51 -04:00
..
AWS.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Delete.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Edit.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Fsck.hs Typo: recurrance -> recurrence 2023-03-17 15:14:54 -04:00
IA.hs rename to avoid warning 2021-10-18 16:25:00 -04:00
Local.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Pairing.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Preferences.hs prevent numcopies or mincopies being configured to 0 2022-03-28 15:20:34 -04:00
Ssh.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Unused.hs import Data.Default in Common 2015-01-28 16:11:28 -04:00
Upgrade.hs removed the old Android app 2018-10-13 01:41:11 -04:00
WebDAV.hs Windows: Support urls like "file:///c:/path" 2023-03-27 13:38:02 -04:00