| Summary: | webdav ignores <user>@ in URL (to owncloud server) after first connection is established. Always list contents of the same account | ||
|---|---|---|---|
| Product: | [Unmaintained] kio | Reporter: | Achim Bohnet <ach> |
| Component: | webdav | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | frank78ac |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 17.04 | |
| Sentry Crash Report: | |||
| Attachments: | Webdav of user1 and user2 on same server. User2 lists file of user1 :-( | ||
|
Description
Achim Bohnet
2015-04-25 10:01:38 UTC
Thanks for the bug report! I'll reassign to KIO/webdav, which is responsible for accessing webdav URLs. It would be interesting to know if the same error happens in the file dialog of KF5-based applications (such as KWrite). If it works there, then the bug will most likely be gone as soon as all KDE applications will be based on KF5. Same with kate on Kubuntu 15.04: kate 5.0.0 from 14.12.3, KF 5.9, plasma 5.3 1) start kate, 2) open webdavs://user1@owncloud-test.mpe.mpg.de:443/~test/6.0/remote.php/webdav/ 3) correct file listing of user1 shows up, and open a file. 4) ^N + ^O webdavs://user2@owncloud-test.mpe.mpg.de:443/~test/6.0/remote.php/webdav/ => bug: Files of user1 are listed not of user2 One can use any other user name. E.g. I tried the nonexisting user 'xxxxxxxxxxxxxxxxxxxxx'. Still user1 files are listed. Achim FWIW: Please add the KF5 versions 5.* for kio/webdav. Version for this bug report should be 5.9 instead of unspecified. But it can't be choosen as only 4.* versions are listed. Thx. Bug still there: webdavs in dolphin 15.08.2, kf5 5.15, qt 5.4.2 When I click in dolphin once at the webdav link of user1 (aka allee) then on user2 (ach), apache2 log of the owncloud server shows: 82.135.77.255 - allee [02/Nov/2015:23:14:27 +0100] "PROPFIND /~test/6.0/remote.php/webdav/ HTTP/1.1" 207 7485 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.15.0 (like Gecko) Konqueror/5.15" 82.135.77.255 - allee [02/Nov/2015:23:14:27 +0100] "PROPFIND /~test/6.0/remote.php/webdav HTTP/1.1" 207 7485 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.15.0 (like Gecko) Konqueror/5.15" 82.135.77.255 - ach [02/Nov/2015:23:14:28 +0100] "PROPFIND /~test/6.0/remote.php/webdav/ HTTP/1.1" 207 7485 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.15.0 (like Gecko) Konqueror/5.15" 82.135.77.255 - ach [02/Nov/2015:23:14:28 +0100] "PROPFIND /~test/6.0/remote.php/webdav HTTP/1.1" 207 7485 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.15.0 (like Gecko) Konqueror/5.15" 82.135.77.255 - ach [02/Nov/2015:23:14:29 +0100] "PROPFIND /~test/6.0/remote.php/webdav/ HTTP/1.1" 207 1966 "-" "Mozilla/5.0 (X11; Linux x86_64) KHTML/5.15.0 (like Gecko) Konqueror/5.15" So user is correctly propagated, but filelisting is in both cases the list of user1 (that was used first to login owncloud). So I assume the the cookie or whatever owncloud uses to discriminate the user session, that is shared (bug) and not different for user1 and user2. Bug also in KF5 of kio webdav! I've retried on neon dev stable distro with dolphin 16.08.1 & kf5 5.26. Still the same. Use webdav to access files of user1 @ server1 then access user2 @ server1 --> files of user1 instead of user2 are shown (see attached screenshot). Created attachment 101261 [details]
Webdav of user1 and user2 on same server. User2 lists file of user1 :-(
Same bug kio - webdav in kwrite 16.08.1 * open webdav dir of user1 then * open webdavdir of user2 on same server --> BUG: show files of user1 not user2 :-( I expect that files of user2 are listed Seen this in xenial and neon dev stable Fixed in kio 5.35, kio-extras 17.04 in 'Neon User' distro. |