WebDAV plugin: not expected behavior of Updir [..] in root of server
Posted: 2021-08-16, 14:54 UTC
To reproduce the issue:
1. Share some files/dirs on one first phone with TC4A's WiFi-WLAN plugin.
2. On another phone, connect to same WiFi access point and create a new server with a name of first phone as a connection name and server with almost exact address data provided by WiFi Transfer plugin on the first phone, though you have to strip "http://" part from it when typing the "Server name/directory" in Edit Server dialog of WebDAV plugin.
3. Enter the server connection you added to WebDAV plugin, TC4A will open a path that will look like:
///WebDAV/<Phone name (connection name)>/<part of WiFi Plugin's URL after last slash>/
Total Commander for Android now should show the fil
4. Try to tap on updir (".." item in filelist):
TC4A will briefly show some progress dialog with the
///WebDAV/<Phone name (connection name)>/
path and an error with word "Forbidden".
Then the panel will be refreshed by TC4A, but the location won't change.
5. Tap the updir ("..") again:
TC4A will go to own Home folder.
Expected behavior: after a tap on .. TC4A either should open ///WebDAV/<Phone name (connection name)>/, even though TC currently treats that location as Forbidden, and show there the updir item (to jump to ///WebDAV/) and the <part of WiFi Plugin's URL after last slash>/ dir (to go back), or it should immediately jump upper to the ///WebDAV/ (but not to Home folder!), of course doing this on a first try of a tap on "..".
1. Share some files/dirs on one first phone with TC4A's WiFi-WLAN plugin.
2. On another phone, connect to same WiFi access point and create a new server with a name of first phone as a connection name and server with almost exact address data provided by WiFi Transfer plugin on the first phone, though you have to strip "http://" part from it when typing the "Server name/directory" in Edit Server dialog of WebDAV plugin.
3. Enter the server connection you added to WebDAV plugin, TC4A will open a path that will look like:
///WebDAV/<Phone name (connection name)>/<part of WiFi Plugin's URL after last slash>/
Total Commander for Android now should show the fil
4. Try to tap on updir (".." item in filelist):
TC4A will briefly show some progress dialog with the
///WebDAV/<Phone name (connection name)>/
path and an error with word "Forbidden".
Then the panel will be refreshed by TC4A, but the location won't change.
5. Tap the updir ("..") again:
TC4A will go to own Home folder.
Expected behavior: after a tap on .. TC4A either should open ///WebDAV/<Phone name (connection name)>/, even though TC currently treats that location as Forbidden, and show there the updir item (to jump to ///WebDAV/) and the <part of WiFi Plugin's URL after last slash>/ dir (to go back), or it should immediately jump upper to the ///WebDAV/ (but not to Home folder!), of course doing this on a first try of a tap on "..".