Bug 447596 - sftp kioslave can't access subdirectories of hidden directories with a name of size 2
Summary: sftp kioslave can't access subdirectories of hidden directories with a name o...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 08:41 UTC by Salvo "LtWorf" Tomaselli
Modified: 2021-12-28 08:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salvo "LtWorf" Tomaselli 2021-12-28 08:41:32 UTC
SUMMARY

The sftp kioslave can't access subdirectories of hidden directories with really short names.

They disappear from the path.

I tried with hidden directories with longer names and they seem to work fine, so the problem appears when they have short names.

STEPS TO REPRODUCE
1.  Have ssh server
2.  Configure server to use only key authentication and use port 12345 instead of 22 (don't know if this is relevant to reproduce)
3. run `mkdir -p .q/lalalala` on said ssh server
4. Open dolphin
5. Enter in dolphin `sftp://username@server:12345`
6. Wait for it to connect
7. Append `.q` in address bar to the address
8. Click on the lalalala directory

OBSERVED RESULT

The ".q" part is deleted from the path and the remaining is something like `sftp://username@server:12345/home/salvo//lalalala` (notice the double /)


EXPECTED RESULT

For the path to not drop parts.

SOFTWARE/OS VERSIONS
Debian unstable