diff options
-rw-r--r-- | src/get-carddav-report.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c index 5c549b9..971f6d1 100644 --- a/src/get-carddav-report.c +++ b/src/get-carddav-report.c @@ -143,6 +143,9 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error) if (!href) { href = get_tag("D:href", tmp_report); } + if (!href) { + href = get_tag("d:href", tmp_report); + } pos = strstr(tmp_report, href); all_href = g_strdup_printf(""); while ((href != NULL) && (pos != NULL)) { @@ -151,6 +154,9 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error) if (!href) { href = get_tag("D:href", pos); } + if (!href) { + href = get_tag("d:href", pos); + } if (!href) break; pos = strstr(pos, href); |