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 /%25253fid%25253d594bd62378b525de2d1551f156ef3804ddfe394f&id2%25253d4777c60056e42d985cff4e48beb06cdb4cd9b83f%253fid%253d594bd62378b525de2d1551f156ef3804ddfe394f&id2%253d4777c60056e42d985cff4e48beb06cdb4cd9b83f%3fid%3d594bd62378b525de2d1551f156ef3804ddfe394f&id2%3d4777c60056e42d985cff4e48beb06cdb4cd9b83f?id=594bd62378b525de2d1551f156ef3804ddfe394f | |
parent | 4777c60056e42d985cff4e48beb06cdb4cd9b83f (diff) |
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 '%25253fid%25253d594bd62378b525de2d1551f156ef3804ddfe394f&id2%25253d4777c60056e42d985cff4e48beb06cdb4cd9b83f%253fid%253d594bd62378b525de2d1551f156ef3804ddfe394f&id2%253d4777c60056e42d985cff4e48beb06cdb4cd9b83f%3fid%3d594bd62378b525de2d1551f156ef3804ddfe394f&id2%3d4777c60056e42d985cff4e48beb06cdb4cd9b83f?id=594bd62378b525de2d1551f156ef3804ddfe394f')
0 files changed, 0 insertions, 0 deletions