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