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 /%2525252525253fid%2525252525253dbe5cf3578d06388ba8368f0b0793e525193ec28e%25252525253fid%25252525253d81c26f8fd588c286cd262068a76234599191a4e9%252525253fid%252525253d3e8bba2fd1e71899adaa88fc1fbdeacd7b51815e%2525253fid%2525253db36e603997e5534b9173d4e0de856309d7d56b3d%25253fid%25253db36e603997e5534b9173d4e0de856309d7d56b3d%253fid%253db36e603997e5534b9173d4e0de856309d7d56b3d%3fid%3df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7?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 '%2525252525253fid%2525252525253dbe5cf3578d06388ba8368f0b0793e525193ec28e%25252525253fid%25252525253d81c26f8fd588c286cd262068a76234599191a4e9%252525253fid%252525253d3e8bba2fd1e71899adaa88fc1fbdeacd7b51815e%2525253fid%2525253db36e603997e5534b9173d4e0de856309d7d56b3d%25253fid%25253db36e603997e5534b9173d4e0de856309d7d56b3d%253fid%253db36e603997e5534b9173d4e0de856309d7d56b3d%3fid%3df1e84bd18bc6f9e0ce52b9f1dd08590e97d438a7?id=594bd62378b525de2d1551f156ef3804ddfe394f')
0 files changed, 0 insertions, 0 deletions