[dolphin] [Bug 503771] New: Dolphin crashes when using backslashes in SMB URLs (smb:\\) instead of proper forward slashes (smb://).

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun May 4 19:11:09 BST 2025


https://bugs.kde.org/show_bug.cgi?id=503771

            Bug ID: 503771
           Summary: Dolphin crashes when using backslashes in SMB URLs
                    (smb:\\) instead of proper forward slashes (smb://).
    Classification: Applications
           Product: dolphin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: bars: location
          Assignee: dolphin-bugs-null at kde.org
          Reporter: niklaswp at pm.me
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
Dolphin crashes when using backslashes in SMB URLs (smb:\\) instead of proper
forward slashes (smb://).

STEPS TO REPRODUCE
Open Dolphin.

In the address bar, type: smb:\\192.168.42.100

Press Enter.

OBSERVED RESULT
Dolphin immediately crashes. When launched from a terminal, it shows:

arduino
Kopieren
Bearbeiten
org.kde.dolphin: could not find entry for charset= "Andere Kodierung ()"
EXPECTED RESULT
Dolphin should handle invalid SMB URL formats more gracefully.
It could either auto-correct \\ to //, or display a friendly error message
instead of crashing.
This issue affects users familiar with Windows-style UNC paths.

SOFTWARE/OS VERSIONS
Operating System: Nobara Linux 42 (Fedora-based)
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-200.nobara.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X3D
Memory: 62.7 GiB RAM
Graphics: NVIDIA GeForce RTX 4060
Dolphin Version: [add dolphin --version output here, e.g. 23.08.5]

ADDITIONAL INFORMATION
The correct URL smb://192.168.42.100 works without issues.

The crash is reproducible every time smb:\\ is entered.

This is a minor parsing mistake with major usability consequences.

Improving input sanitation could prevent frustration, especially for users
transitioning from Windows.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list