Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode HTML entities in WebDAV #15539

Open
AliveDevil opened this issue Jan 15, 2024 · 1 comment
Open

Decode HTML entities in WebDAV #15539

AliveDevil opened this issue Jan 15, 2024 · 1 comment
Labels
enhancement thirdparty Issue caused by third party webdav WebDAV Protocol Implementation

Comments

@AliveDevil
Copy link
Contributor

Some web dav implementations (currently known: Mega#2599) encode XML special characters using HTML entities, instead of percent encoding these.

We could either state that services returning invalid XML entities aren't supported, or implement the EntityResolver API, to add support for this - which would import all of Chromium/blink/html_entity_names.csv.

Failing log output:

ch.cyberduck.core.dav.SaxPropFindResponseHandler - Fatal parser error org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 32; The entity "add" was referenced, but not declared.
@AliveDevil AliveDevil added enhancement webdav WebDAV Protocol Implementation thirdparty Issue caused by third party labels Jan 15, 2024
@AliveDevil
Copy link
Contributor Author

i.e.

<d:displayname>C&add;&add;</d:displayname>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement thirdparty Issue caused by third party webdav WebDAV Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant