Bug 368008 - Using a DAV filesystem, Dolphin fails to delete a file containing a µ
Summary: Using a DAV filesystem, Dolphin fails to delete a file containing a µ
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: WebDAV (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 13:30 UTC by Edouard Duliège
Modified: 2023-01-01 05:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edouard Duliège 2016-08-30 13:30:24 UTC
I am using KDE 16.04.3 on Fedora 24 64b.

Using a DAV filesystem, Dolphin fails to delete a file containing a 
micro symbol (µ, Unicode U+00B5). It will get HTTP code 400, while 
Konqueror succeeds. 

Logging HTTP requests, we can look at the diferences between Dolphin and
Konqueror behaviors. The probable culprit is the trailing slash (/, Unicode
U+002F) that Dophin appended to the file name.

--- dophin.txt
+++ konqueror.txt
@@ -1,12 +1,12 @@
-DELETE /lcmd/user/yghuh%C2%B5uihhu/ HTTP/1.1\r\n
+DELETE /lcmd/user/yghuh%C2%B5uihhu HTTP/1.1\r\n
 Host: davxample.net\r\n
 Connection: keep-alive\r\n
-User-Agent: Mozilla/5.0 (X11; Linux x86_64) KHTML/5.25.0 (like Gecko)
Konqueror/5.25\r\n
+User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like
Gecko) konqueror/4.14.22 Safari/534.34\r\n
 Pragma: no-cache\r\n
 Cache-control: no-cache\r\n
 Accept: text/html, text/*;q=0.9, image/jpeg;q=0.9, image/png;q=0.9,
image/*;q=0.9, */*;q=0.8\r\n
 Accept-Encoding: gzip, deflate, x-gzip, x-deflate\r\n
 Accept-Charset: utf-8,*;q=0.5\r\n
-Accept-Language: fr,en;q=0.9\r\n
+Accept-Language: fr,en-US;q=0.9,en;q=0.8\r\n
 Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l\r\n
 \r\n

Reproducible: Always

Steps to Reproduce:
1. with Dolphin try to delete a file named yghuhµuihhu on a DAV filesystem

Actual Results:  
Error 400 and file isn't deleted

Expected Results:  
file is deleted witout error
Comment 1 Emmanuel Pescosta 2016-10-08 19:13:01 UTC
Thanks for the bug report, looks like a regression in the KF5 port of the webdav ioslave.
Comment 2 Justin Zobel 2022-12-02 01:22:59 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-17 05:13:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-01-01 05:20:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!