git-annex/Assistant/WebApp
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
..
Configurators filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Common.hs generalize catchHardwareFault to catchIOErrorType 2015-12-06 16:26:38 -04:00
Configurators.hs webapp: full wormhole pairing UI (untested) 2016-12-27 16:41:35 -04:00
Control.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
DashBoard.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Documentation.hs split BuildInfo and BuildFlags 2018-01-02 13:47:51 -04:00
Form.hs remove many old version ifdefs 2019-07-05 15:09:37 -04:00
Gpg.hs sync: Fix parsing of gcrypt::rsync:// urls that use a relative path 2023-03-23 15:20:00 -04:00
MakeRemote.hs change Remote.repo to Remote.getRepo 2018-06-04 15:30:26 -04:00
Notifications.hs Merge branch 'master' into no-xmpp 2016-12-24 15:01:55 -04:00
OtherRepos.hs finished this stage of the RawFilePath conversion 2020-11-04 14:20:37 -04:00
Page.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Pairing.hs avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
Repair.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
RepoId.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
RepoList.hs sync: Fix parsing of gcrypt::rsync:// urls that use a relative path 2023-03-23 15:20:00 -04:00
routes webapp: remove configurators for obsolste cloud storage services 2019-01-22 11:48:35 -04:00
SideBar.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Types.hs remove many old version ifdefs 2019-07-05 15:09:37 -04:00