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

[email protected]
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.