MantisBT - NetSurf
View Issue Details
0002801NetSurfGTK-specificpublic2020-12-07 07:522024-05-27 13:03
ReporterWitold Baryluk 
Assigned Tokinnison 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinux amd64OSLinuxOS VersionLinux 5.9.9, X11
Product Version3.10 
Target VersionFixed in Version3.12 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002801: Non-URLs in URL bar, should forward to search in current / default search engine
DescriptionI think this is self explanatory. All modern browsers for almost a decade, do a search in a search engine, for text entered in the URL bar, instead of trying to fetch the URL.

It makes interface way more user friendly in majority of cases, and in some cases even allows to remove the separate field for the search input.
TagsNo tags attached.
Attached Filespng Screenshot at 2020-12-07 07-53-25.png (37,590) 2020-12-07 07:53
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=692&type=bug
png

Notes
(0002300)
Witold Baryluk   
2020-12-07 07:56   
One of the heuristic to trigger this, is to try to parse the string, and see if in the first "word", are there any dots, or it doesn't resolve name, or after it there is a space and not : or /, then it can't be a hostname or DNS name either.

Other obvious way is to simply try to parse using existing mechanism, and if it fails, just assume it is not URL.
(0002301)
Witold Baryluk   
2020-12-07 07:57   
I just noticed in options "Search from URL bar". But enabling it, it sill behaves the same way.
(0002459)
kinnison   
2024-05-27 13:03   
We have fixed nsurl to not accept bad urls which should improve search-from-urlbar. it won't be everything you might want; but it'll definitely be better.

Issue History
2020-12-07 07:52Witold BarylukNew Issue
2020-12-07 07:53Witold BarylukFile Added: Screenshot at 2020-12-07 07-53-25.png
2020-12-07 07:56Witold BarylukNote Added: 0002300
2020-12-07 07:57Witold BarylukNote Added: 0002301
2024-05-27 13:03kinnisonAssigned To => kinnison
2024-05-27 13:03kinnisonStatusnew => resolved
2024-05-27 13:03kinnisonResolutionopen => fixed
2024-05-27 13:03kinnisonFixed in Version => 3.12
2024-05-27 13:03kinnisonNote Added: 0002459