dolphin in focal can't delete webdav directories running on focal's apache

Bug #1927742 reported by Adam Vodopjan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

/etc/apache2/mods-available/setenvif.conf from the apache2 package has this:

    BrowserMatch " Konqueror/4" redirect-carefully

While dolphin is Konqueror/5 in focal. Trying to delete a directory on webdav dolphin just gets a http 301 redirect.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
apache2:
  Installed: 2.4.41-4ubuntu3.1

3) What you expected to happen
Dolphin should be able to remove directories over webdav

4) What happened instead
Apache issues a redirect from prefix/dir to prefix/dir/

    127.0.0.1 - user1 [07/May/2021:02:19:53 +0000] "DELETE /webdav/test HTTP/1.1" 301 578 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.68.0 (like Gecko) Konqueror/5 KIO/5.68"

Dolphin doesn't follow the redirect hence nothing happens.

Revision history for this message
Paride Legovini (paride) wrote :

Hello Ross and thanks for this bug report. Did you actually verify that adding a

  BrowserMatch " Konqueror/5" redirect-carefully

line to setenvif.conf resolves the issue?

Anyway the file belongs to the packaging and not to the upstream source, so the fix belongs to Ubuntu. Waiting for your feedback on the " Konqueror/5" test I'm marking this bug report as Incomplete. Please change its status back to New after commenting back and we'll look at it again. Thanks!

Changed in apache2 (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Adam Vodopjan (grozzly) wrote :

Yes,

BrowserMatch " Konqueror/5" redirect-carefully

does fix the bug.

Changed in apache2 (Ubuntu):
status: Incomplete → New
Changed in apache2 (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.