fix: encode webdav href as uri (#28)
* Revert "fix: filename xml escaping"
This reverts commit ce154d9ebc
.
* webdav filenames are fixed
This commit is contained in:
parent
870e92e306
commit
8d03ec151a
1 changed files with 4 additions and 4 deletions
|
@ -829,8 +829,8 @@ impl PathItem {
|
|||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:propstat>
|
||||
</D:response>"#,
|
||||
escape_str_pcdata(prefix),
|
||||
escape_str_pcdata(&self.name),
|
||||
prefix,
|
||||
encode_uri(&self.name),
|
||||
escape_str_pcdata(&self.base_name),
|
||||
mtime
|
||||
),
|
||||
|
@ -847,8 +847,8 @@ impl PathItem {
|
|||
<D:status>HTTP/1.1 200 OK</D:status>
|
||||
</D:propstat>
|
||||
</D:response>"#,
|
||||
escape_str_pcdata(prefix),
|
||||
escape_str_pcdata(&self.name),
|
||||
prefix,
|
||||
encode_uri(&self.name),
|
||||
escape_str_pcdata(&self.base_name),
|
||||
self.size.unwrap_or_default(),
|
||||
mtime
|
||||
|
|
Loading…
Reference in a new issue