https://bugs.kde.org/show_bug.cgi?id=355441

--- Comment #7 from Grégory Oestreicher <g...@kamago.net> ---
(In reply to David Faure from comment #6)
> Looks like a regression caused by 1bdb286f62454bb13cc299abd45a297a56b45cea
> (the fix for bug 331295). Dawit?

This patch is not / no longer in master that's for sure. And even with it the
problem is not really addressed as the final '/' will always be added.

The commit 58294ac mentions a fix coming from a discussion on the KDE forums.
The original issue was that a 301 response was issued for DELETE requests
against directories. AFAICS this is totally normal and the HTTP ioslave should
follow the redirect and delete the resource pointed by the Location header,
only if the new Location is the same as the previous one with just an extra '/'
tacked on at the end. Otherwise just ignore it as it's potentially unsafe.

Also it's impossible to know in advance if a URI points to a file or directory
because those concepts don't exist unfortunately :(

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to