diff options
author | Robin Jarry <robin@jarry.cc> | 2023-10-11 15:52:29 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-13 00:38:13 +0200 |
commit | 00ded54adde070723c665a1c5a589c3ee080b001 (patch) | |
tree | 83df42db2d40f31dec491b82aec5286691ac6ec1 /contrib/check-whitespace | |
parent | aa6df60483477b7519b3aeb81207cc1c6565fcf5 (diff) | |
download | aerc-00ded54adde070723c665a1c5a589c3ee080b001.tar.gz |
carddav-query: interpret percent escapes in source url
The username and password must be percent encoded if they are set in
carddav-source. Python's parser does not automatically unquote the
different URL elements.
Some carddav servers do not care about this but some do and report
authentication failures when the username is percent encoded.
Make sure to unquote the username and password after reading them from
carddav-source.
Reported-by: Callum Andrew <contact@candrew.net>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Callum Andrew <contact@candrew.net>
Diffstat (limited to 'contrib/check-whitespace')
0 files changed, 0 insertions, 0 deletions