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

            Bug ID: 407558
           Summary: Falkon thinks every string containing a dot is a URL
           Product: Falkon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: jplx...@gmail.com
  Target Milestone: ---

SUMMARY
Falkon thinks every string containing a dot is a URL. Therefore, in the
combined search/addres bar, a string with a dot will not be send to a search
engine, it tries to open the page instead (which of course doesn't exist in
this case)

STEPS TO REPRODUCE
1. Enter something.something into the search/address bar
2. Press enter

OBSERVED RESULT
Falkon will try to load a page that does not exist.

EXPECTED RESULT
Falkon recognises that the letters after the dot are not a valid TLD and
therefore treats the string like a regular search query.

PROPOSED SOLUTION
Don't treat every string containing a dot like a URL. Check if the URL is
valid, for example by comparing it to a list of valid TLDs. If it is not valid,
treat it like a search query.
Also automatically treat every string beginning with `https://` as a URL.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to