[PR #20] [CLOSED] Fixes issue #19 #421

Closed
opened 2026-04-08 16:52:51 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/20
Author: @jkoop
Created: 6/5/2022
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

3 files changed (+16 additions, -4 deletions)

View changed files

📝 Cargo.lock (+7 -0)
📝 Cargo.toml (+1 -0)
📝 src/server.rs (+8 -4)

📄 Description

Filenames in a WebDAV response are now escaped with xml::escape::escape_str_pcdata.

An excerpt from the new PROPFIND response, for example:

<!-- for the folder "/This & that" -->
<D:href>/This &amp; that</D:href>

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/20 **Author:** [@jkoop](https://github.com/jkoop) **Created:** 6/5/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`80f2e23`](https://github.com/sigoden/dufs/commit/80f2e234c7bd18c7624b90b48ae536b806c16e0d) fixed #19 ### 📊 Changes **3 files changed** (+16 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+7 -0) 📝 `Cargo.toml` (+1 -0) 📝 `src/server.rs` (+8 -4) </details> ### 📄 Description Filenames in a WebDAV response are now escaped with [xml](https://docs.rs/xml-rs/0.8.0/xml/index.html)::[escape](https://docs.rs/xml-rs/0.8.0/xml/escape/index.html)::[escape_str_pcdata](https://docs.rs/xml-rs/0.8.0/xml/escape/fn.escape_str_pcdata.html). An excerpt from the new PROPFIND response, for example: ```xml <!-- for the folder "/This & that" --> <D:href>/This &amp; that</D:href> ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:52:51 +03:00
zhus closed this issue 2026-04-08 16:52:51 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#421