View Issue Details

IDProjectCategoryView StatusLast Update
0005964SOGoBackend Generalpublic2024-04-26 09:05
ReporterRoboBurned Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.9.1 
Summary0005964: XML namespace for DAV error element is incorrect
Description

Currently DAV errors have incorrect namespace of error tag "DAV" but it should "DAV:" with a colon.
Example of error I get:
HTTP/1.1 403 Forbidden

content-length: 93
content-type: application/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV">sequences don't match</D:error>
RFC https://datatracker.ietf.org/doc/html/rfc4918#section-14 in section 14 says that "All elements defined here are in the "DAV:" namespace."
Section 14.5 describes the error element.
All examples of using error element are desribed as

<D:error xmlns:D="DAV:">
...
</D:error>

Steps To Reproduce

1 Try to call any DAV method that returns error.
2 Observe the namespace of the D:error element.

Additional Information

I created a PR to fix this issue
https://github.com/Alinto/sope/pull/67

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-04-26 09:05 RoboBurned New Issue