davical/testing/tests/regression-suite/2802-correct-shared-addresses.test
Andrew Ruthven b4bcc6cc25 Fix DAV:current-user-principal for iPhone devices
iPhone devices incorrectly implement DAV:current-user-principal from
RFC 5397. They assume that current-user-principal is the href for the
resource being queried. The RFC says it should be the current resource.

See: https://gitlab.com/davical-project/davical/-/issues/335
2025-01-27 23:27:45 +13:00

17 lines
569 B
Plaintext

# Test for iPhone devices which incorrectly implement
# DAV:current-user-principal from RFC 5397. They assume that
# current-user-principal is the href for the resource being queried. The
# RFC says it should be the current resource. #Sigh.
#
# See: https://gitlab.com/davical-project/davical/-/issues/335
#
# Ensure that user4 has user4 as the current-user-principal as we're not an
# 'iPhone'.
TYPE=PROPFIND
AUTH=user4:user4
HEADER=Content-Type: text/xml; charset="UTF-8"
HEADER=User-Agent: Evolution/1.8.1
HEAD
URL=http://regression.host/caldav.php/user1/addresses