diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-03 12:05:11 -0400 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-03 17:55:08 -0400 |
commit | 594bd62378b525de2d1551f156ef3804ddfe394f (patch) | |
tree | 4e5f7dcd7ca24165a575f7cb5d1d7c4de785db42 /src/hooks.c | |
parent | 4777c60056e42d985cff4e48beb06cdb4cd9b83f (diff) | |
download | calcurse-594bd62378b525de2d1551f156ef3804ddfe394f.tar.gz calcurse-594bd62378b525de2d1551f156ef3804ddfe394f.zip |
calcurse-caldav: improve config file error handling
The previous implementation allowed sections and keys other than those
used by the script which led to a variety of bug reports due to typos in
the configuration. Disallow entries other than those explicitly used and
make both section and key names case-sensitive (previously, only section
names where case-sensitive).
Check that Hostname and Path are set before using them.
Addresses GitHub issues #327 and #350.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/hooks.c')
0 files changed, 0 insertions, 0 deletions