Bug 464361

Summary: Inputting a file:// URI without the leading root directory / results in Dolphin misinterpreting it as smb://
Product: [Applications] dolphin Reporter: spamless.9v5xj
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kdedev, kfm-devel
Priority: NOR    
Version: 22.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Samba authentication dialog

Description spamless.9v5xj 2023-01-16 02:23:45 UTC
If one types something like "file://foo/bar/baz" into the location bar (note: there are only two slashes following 'file:' while a correctly formatted URI has three, eg. "file:///foo/bar/baz" Dolphin pops up a dialog asking the user to input credentials for a (non-existent) SMB file share, which is... weird.

Dolphin just seems to really hate if you forego the root directory slash - related bug 456170

Tested on a fresh live install ISO of KDE neon to confirm it's an OOTB issue.
Comment 1 TraceyC 2024-05-09 23:45:09 UTC
I can confirm this. Typing in "file://home/tracey/filename.txt" resulted in an authentication pop up, which I'm attaching.
Comment 2 TraceyC 2024-05-09 23:45:53 UTC
Created attachment 169354 [details]
Samba authentication dialog
Comment 3 TraceyC 2024-05-09 23:46:39 UTC
Reproduced on

Operating System: Solus 4.5
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.3
Kernel Version: 6.8.9-289.current (64-bit)
Graphics Platform: Wayland