Activity log for bug #1927742

Date Who What changed Old value New value Message
2021-05-07 14:01:39 Adam Vodopjan bug added bug
2021-05-10 11:26:29 Paride Legovini apache2 (Ubuntu): status New Incomplete
2021-05-10 11:27:14 Paride Legovini apache2 (Ubuntu): importance Undecided Low
2021-05-10 15:19:22 Adam Vodopjan apache2 (Ubuntu): status Incomplete New
2021-05-11 12:34:56 Lucas Kanashiro bug added subscriber Ubuntu Server
2021-11-08 15:52:57 Lucas Kanashiro apache2 (Ubuntu): status New Triaged
2023-06-22 16:30:30 Michał Małoszewski apache2 (Ubuntu): assignee Michał Małoszewski (michal-maloszewski99)
2023-06-22 16:30:52 Michał Małoszewski apache2 (Ubuntu): status Triaged In Progress
2023-06-28 14:33:34 Michał Małoszewski tags apache2 dolphin webdav apache2 dolphin server-todo webdav
2023-07-19 14:56:52 Michał Małoszewski tags apache2 dolphin server-todo webdav apache2 dolphin webdav
2023-08-08 08:57:44 Michał Małoszewski tags apache2 dolphin webdav apache2 dolphin server-todo webdav
2023-08-11 15:11:37 Michał Małoszewski nominated for series Ubuntu Focal
2023-08-11 15:11:37 Michał Małoszewski bug task added apache2 (Ubuntu Focal)
2023-08-11 15:11:37 Michał Małoszewski nominated for series Ubuntu Jammy
2023-08-11 15:11:37 Michał Małoszewski bug task added apache2 (Ubuntu Jammy)
2023-08-11 15:11:37 Michał Małoszewski nominated for series Ubuntu Lunar
2023-08-11 15:11:37 Michał Małoszewski bug task added apache2 (Ubuntu Lunar)
2023-08-11 15:11:42 Michał Małoszewski apache2 (Ubuntu Focal): status New In Progress
2023-08-11 15:11:45 Michał Małoszewski apache2 (Ubuntu Jammy): status New In Progress
2023-08-11 15:11:47 Michał Małoszewski apache2 (Ubuntu Lunar): status New In Progress
2023-08-11 15:11:50 Michał Małoszewski apache2 (Ubuntu Focal): assignee Michał Małoszewski (michal-maloszewski99)
2023-08-11 15:11:51 Michał Małoszewski apache2 (Ubuntu Jammy): assignee Michał Małoszewski (michal-maloszewski99)
2023-08-11 15:11:54 Michał Małoszewski apache2 (Ubuntu Lunar): assignee Michał Małoszewski (michal-maloszewski99)
2023-08-23 15:10:23 Michał Małoszewski bug watch added https://bz.apache.org/bugzilla/show_bug.cgi?id=67039
2023-10-09 19:54:44 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/453166
2023-10-09 19:56:07 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/453167
2023-10-09 19:56:51 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/453168
2023-10-09 19:57:43 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/453169
2023-10-11 15:12:34 Bryce Harrington apache2 (Ubuntu): assignee Michał Małoszewski (michal-maloszewski99) Bryce Harrington (bryce)
2023-10-11 15:12:37 Bryce Harrington apache2 (Ubuntu Focal): assignee Michał Małoszewski (michal-maloszewski99) Bryce Harrington (bryce)
2023-10-11 15:12:39 Bryce Harrington apache2 (Ubuntu Jammy): assignee Michał Małoszewski (michal-maloszewski99) Bryce Harrington (bryce)
2023-10-11 15:12:40 Bryce Harrington apache2 (Ubuntu Lunar): assignee Michał Małoszewski (michal-maloszewski99) Bryce Harrington (bryce)
2023-12-10 00:36:40 Bryce Harrington bug task added apache2
2023-12-13 01:45:23 Bryce Harrington 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. [Impact] [Workaround] [Test Case] [Where Problems Could Occur] [Other Info] [Original Report] /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.
2023-12-13 07:18:14 Bryce Harrington description [Impact] [Workaround] [Test Case] [Where Problems Could Occur] [Other Info] [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] On the server-side, manually setting the BrowserMatch in Apache's configuration will fix it. On the client-side, change the user agent in Dophin Settings > Customize > User Agent to Custom and then specify a supported user agent such as "Konqueror/4". [Test Case] 0. Create a testing VMs. a. Server VMs can be for each targeted Ubuntu release. Name these 'davtest-<codename>' b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV a. Create the DAV directory structure sudo mkdir -p /var/www/webdav/example/test sudo chown -R www-data:www-data /var/www/webdav b. Install Apache with DAV sudo apt-get install apache2 sudo a2enmod dav dav_fs c. Create /etc/apache2/sites-available/davtest.conf <VirtualHost *:80> ServerName localhost DocumentRoot /var/www/webdav ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /webdav /var/www/webdav <Directory /var/www/webdav> DAV On AllowOverride None Require all granted </Directory> </VirtualHost> d. Enable the new configuration and restart apache2 sudo a2ensite test.conf sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well) a. sudo apt-get install dolphin b. dolphin c. In dolphin, press C-l and enter "webdav://davtest-<codename>" d. Create some files and dirs e. Verify can delete files f. Attempt to delete directories, then refresh (F5) and check if still visible. g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin: a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Original Report] /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.
2023-12-13 07:36:22 Bryce Harrington description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] On the server-side, manually setting the BrowserMatch in Apache's configuration will fix it. On the client-side, change the user agent in Dophin Settings > Customize > User Agent to Custom and then specify a supported user agent such as "Konqueror/4". [Test Case] 0. Create a testing VMs. a. Server VMs can be for each targeted Ubuntu release. Name these 'davtest-<codename>' b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV a. Create the DAV directory structure sudo mkdir -p /var/www/webdav/example/test sudo chown -R www-data:www-data /var/www/webdav b. Install Apache with DAV sudo apt-get install apache2 sudo a2enmod dav dav_fs c. Create /etc/apache2/sites-available/davtest.conf <VirtualHost *:80> ServerName localhost DocumentRoot /var/www/webdav ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /webdav /var/www/webdav <Directory /var/www/webdav> DAV On AllowOverride None Require all granted </Directory> </VirtualHost> d. Enable the new configuration and restart apache2 sudo a2ensite test.conf sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well) a. sudo apt-get install dolphin b. dolphin c. In dolphin, press C-l and enter "webdav://davtest-<codename>" d. Create some files and dirs e. Verify can delete files f. Attempt to delete directories, then refresh (F5) and check if still visible. g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin: a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] On the server-side, manually setting the BrowserMatch in Apache's configuration to include "dolphin" and/or "Konqueror/5" will fix it. On the client-side, change the user agent in Dophin Settings > Customize > User Agent to Custom and then specify a supported user agent such as "Konqueror/4". [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite test.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2023-12-13 07:36:26 Bryce Harrington apache2 (Ubuntu Focal): importance Undecided Low
2023-12-13 07:36:28 Bryce Harrington apache2 (Ubuntu Jammy): importance Undecided Low
2023-12-13 07:36:30 Bryce Harrington apache2 (Ubuntu Lunar): importance Undecided Low
2024-01-17 01:58:27 Bryce Harrington description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] On the server-side, manually setting the BrowserMatch in Apache's configuration to include "dolphin" and/or "Konqueror/5" will fix it. On the client-side, change the user agent in Dophin Settings > Customize > User Agent to Custom and then specify a supported user agent such as "Konqueror/4". [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite test.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite test.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2024-01-17 02:24:14 Bryce Harrington description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite test.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2024-01-17 02:26:32 Bryce Harrington description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf a2dissite 000-default.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2024-01-17 06:08:01 Bryce Harrington description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName localhost             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf a2dissite 000-default.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>/example/test     b. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4' [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName davtest-<codename>.lxd             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf         sudo a2dissite 000-default.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>.lxd/example/test This will display a "Moved Permanent" redirect warning (which will make dolphin fail). In the user agent, 'prefix' is a placeholder and any text can be used. E.g. 'xyz dolphin'.     b. Adding a trailing / will make it avoid the redirect. I.e.: curl -I -X DELETE -A 'prefix dolphin/21.12.3' http://davtest-<codename>.lxd/example/test/     c. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4'. The former may not work but the latter should. [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2024-01-19 02:17:13 Launchpad Janitor merge proposal linked https://code.launchpad.net/~bryce/ubuntu/+source/apache2/+git/apache2/+merge/458985
2024-01-19 02:24:47 Launchpad Janitor merge proposal linked https://code.launchpad.net/~bryce/ubuntu/+source/apache2/+git/apache2/+merge/458986
2024-01-19 02:27:08 Launchpad Janitor merge proposal linked https://code.launchpad.net/~bryce/ubuntu/+source/apache2/+git/apache2/+merge/458987
2024-01-29 19:52:46 Bryce Harrington nominated for series Ubuntu Mantic
2024-01-29 19:52:46 Bryce Harrington bug task added apache2 (Ubuntu Mantic)
2024-01-29 19:52:46 Bryce Harrington nominated for series Ubuntu Noble
2024-01-29 19:52:46 Bryce Harrington bug task added apache2 (Ubuntu Noble)
2024-01-29 19:52:54 Bryce Harrington apache2 (Ubuntu Mantic): status New In Progress
2024-01-29 19:52:56 Bryce Harrington apache2 (Ubuntu Mantic): importance Undecided Low
2024-01-29 19:52:59 Bryce Harrington apache2 (Ubuntu Noble): importance Low High
2024-01-29 19:53:01 Bryce Harrington apache2 (Ubuntu Mantic): assignee Bryce Harrington (bryce)
2024-01-29 20:09:11 Launchpad Janitor merge proposal linked https://code.launchpad.net/~bryce/ubuntu/+source/apache2/+git/apache2/+merge/459606
2024-01-29 20:10:50 Launchpad Janitor merge proposal linked https://code.launchpad.net/~bryce/ubuntu/+source/apache2/+git/apache2/+merge/459607
2024-01-30 13:25:05 Andreas Hasenack description [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName davtest-<codename>.lxd             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf         sudo a2dissite 000-default.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin' http://davtest-<codename>.lxd/example/test This will display a "Moved Permanent" redirect warning (which will make dolphin fail). In the user agent, 'prefix' is a placeholder and any text can be used. E.g. 'xyz dolphin'.     b. Adding a trailing / will make it avoid the redirect. I.e.: curl -I -X DELETE -A 'prefix dolphin/21.12.3' http://davtest-<codename>.lxd/example/test/     c. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4'. The former may not work but the latter should. [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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. [Impact] WebDAV DELETE operations on directories don't work for the Dolphin file manager, due to not being recognized by Apache. This limits KDE users from managing remote filesystems. [Workaround] Some versions of the client may allow overriding the global default user agent. [Test Case] 0. Create a testing VMs.     a. Server VMs can be for each targeted Ubuntu release.         Name these 'davtest-<codename>'     b. Client VM is Ubuntu focal, and needs to run graphics apps. 1. On server, install Apache configured to provide a directory tree via WebDAV     a. Create the DAV directory structure         sudo mkdir -p /var/www/webdav/example/test         sudo chown -R www-data:www-data /var/www/webdav     b. Install Apache with DAV         sudo apt-get install apache2         sudo a2enmod dav dav_fs     c. Create /etc/apache2/sites-available/davtest.conf         <VirtualHost *:80>             ServerName davtest-<codename>.lxd             DocumentRoot /var/www/webdav             ErrorLog ${APACHE_LOG_DIR}/error.log             CustomLog ${APACHE_LOG_DIR}/access.log combined             Alias /webdav /var/www/webdav             <Directory /var/www/webdav>                 DAV On                 AllowOverride None                 Require all granted             </Directory>         </VirtualHost>     d. Enable the new configuration and restart apache2         sudo a2ensite davtest.conf         sudo a2dissite 000-default.conf         sudo systemctl restart apache2 2. On client, install Dolphin (requires the core KDE system as well)     a. sudo apt-get install dolphin     b. dolphin     c. In dolphin, press C-l and enter "webdav://davtest-<codename>"     d. Create some files and dirs     e. Verify can delete files     f. Attempt to delete directories, then refresh (F5) and check if still visible.     g. Check on server whether directory was actually deleted An alternative to #2 uses curl instead of Dolphin:     a. curl -I -X DELETE -A 'prefix dolphin/' http://davtest-<codename>.lxd/example/test         This will display a "Moved Permanent" redirect warning (which will make dolphin fail).         In the user agent, 'prefix' is a placeholder and any text can be used. E.g. 'xyz dolphin'.     b. Adding a trailing / will make it avoid the redirect. I.e.:         curl -I -X DELETE -A 'prefix dolphin/21.12.3' http://davtest-<codename>.lxd/example/test/     c. Try also with 'prefix Konqueror/5' or 'prefix Konqueror/4'. The former may not work but the latter should. [Where Problems Could Occur] The fix only touches the package's default DAV config file, so things to watch for would be misbehaviors with configuration settings when DAV is installed. For instance, during system upgrades, if customized httpd-dav.conf files start seeing problems then it might relate to this. Since the fix is particular to KDE, if any issues particular to KDE applications operating against Apache2 servers might be relevant. [Other Info] Some versions of Dolphin apparently use the "Konqueror/5" user agent, while others use "dolphin". This SRU adds supports for both, to ensure the issue is fully resolved. [Original Report] /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.
2024-01-31 10:41:13 Bryce Harrington apache2 (Ubuntu Lunar): status In Progress Won't Fix
2024-01-31 21:43:03 Ubuntu Archive Robot bug added subscriber Bryce Harrington
2024-02-01 02:19:46 Bryce Harrington bug added subscriber Ubuntu Stable Release Updates Team
2024-02-01 13:34:25 Launchpad Janitor apache2 (Ubuntu Noble): status In Progress Fix Released
2024-02-07 20:51:55 Robie Basak apache2 (Ubuntu Mantic): status In Progress Fix Committed
2024-02-07 20:51:56 Robie Basak bug added subscriber SRU Verification
2024-02-07 20:51:58 Robie Basak tags apache2 dolphin server-todo webdav apache2 dolphin server-todo verification-needed verification-needed-mantic webdav
2024-02-07 20:52:29 Robie Basak apache2 (Ubuntu Jammy): status In Progress Fix Committed
2024-02-07 20:52:33 Robie Basak tags apache2 dolphin server-todo verification-needed verification-needed-mantic webdav apache2 dolphin server-todo verification-needed verification-needed-jammy verification-needed-mantic webdav
2024-02-08 23:49:01 Bug Watch Updater apache2: status Unknown Fix Released
2024-02-08 23:49:01 Bug Watch Updater apache2: importance Unknown Medium
2024-02-13 10:17:03 Adam Vodopjan tags apache2 dolphin server-todo verification-needed verification-needed-jammy verification-needed-mantic webdav apache2 dolphin server-todo verification-done-jammy verification-needed verification-needed-mantic webdav
2024-02-13 14:27:17 Adam Vodopjan tags apache2 dolphin server-todo verification-done-jammy verification-needed verification-needed-mantic webdav apache2 dolphin server-todo verification-done-jammy verification-done-mantic verification-needed webdav
2024-02-13 15:58:20 Bryce Harrington tags apache2 dolphin server-todo verification-done-jammy verification-done-mantic verification-needed webdav apache2 dolphin server-todo verification-done verification-done-jammy verification-done-mantic webdav
2024-02-13 16:20:32 Robie Basak apache2 (Ubuntu Focal): status In Progress Fix Committed
2024-02-13 16:20:35 Robie Basak tags apache2 dolphin server-todo verification-done verification-done-jammy verification-done-mantic webdav apache2 dolphin server-todo verification-done-jammy verification-done-mantic verification-needed verification-needed-focal webdav
2024-02-13 21:30:20 Adam Vodopjan tags apache2 dolphin server-todo verification-done-jammy verification-done-mantic verification-needed verification-needed-focal webdav apache2 dolphin server-todo verification-done-focal verification-done-jammy verification-done-mantic verification-needed webdav
2024-02-13 21:40:34 Bryce Harrington tags apache2 dolphin server-todo verification-done-focal verification-done-jammy verification-done-mantic verification-needed webdav apache2 dolphin server-todo verification-done verification-done-focal verification-done-jammy verification-done-mantic webdav
2024-02-20 23:53:22 Launchpad Janitor apache2 (Ubuntu Mantic): status Fix Committed Fix Released
2024-02-20 23:53:27 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2024-03-13 06:39:51 Launchpad Janitor apache2 (Ubuntu Jammy): status Fix Committed Fix Released
2024-03-13 06:40:02 Launchpad Janitor apache2 (Ubuntu Focal): status Fix Committed Fix Released