View Issue Details

IDProjectCategoryView StatusLast Update
0005964SOGoBackend Generalpublic2024-07-01 11:48
ReporterRoboBurned Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.9.1 
Fixed in Version5.11.0 
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

sebastien

sebastien

2024-07-01 11:48

administrator   ~0017768

Fixed in https://github.com/Alinto/sope/commit/0ddfee4592077d60b60b7473c8576423ff263962 by @RoboBurned

Thank you for your contribution

Sebastien

Issue History

Date Modified Username Field Change
2024-04-26 09:05 RoboBurned New Issue
2024-07-01 11:48 sebastien Note Added: 0017768
2024-07-01 11:48 sebastien Assigned To => sebastien
2024-07-01 11:48 sebastien Status new => resolved
2024-07-01 11:48 sebastien Resolution open => fixed
2024-07-01 11:48 sebastien Fixed in Version => 5.11.0