Bug 456170 - Dolphin interprets some strings that are not intended as URLs as URLs
Summary: Dolphin interprets some strings that are not intended as URLs as URLs
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (show other bugs)
Version: 22.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-30 14:22 UTC by spamless.9v5xj
Modified: 2025-01-24 23:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spamless.9v5xj 2022-06-30 14:22:19 UTC
SUMMARY
***
When pasting in a string such as "usr/local/bin/", Dolphin thinks that because it does not start with / the string is a URL and redirects the user to the browser without any prompting
***


STEPS TO REPRODUCE
1. Paste the string "usr/local/bin/" sans quotes into the location bar in Dolphin
2. Press Enter

OBSERVED RESULT
Dolphin states that "[it] does not support web pages, the web browser has been launched". Web browser opens, attempting to visit the URL "http:/usr/local/bin".

EXPECTED RESULT
Either to bring the user to /usr/local/bin or a prompt asking if the user wishes to open the web browser

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.18.7-arch1-1
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Comment 1 TraceyC 2024-05-10 02:13:30 UTC
I can confirm this behavior

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

Dolphin 24.02.2
Comment 2 spamless.9v5xj 2025-01-24 22:59:17 UTC
I have also discovered while misclicking when trying to open /foo/bar/1234567890 (which is a file on my PC) that if you input a string of numbers, eg. 1234567890 it will also be interpreted as an IP address.