Address bar doesn't support new TLDs

Bug #1441281 reported by Riccardo Padovani on 2015-04-07
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
Riccardo Padovani
webbrowser-app (Ubuntu)

Bug Description

We have a function in `src/app/webbrowser/AddressBar.qml` called `looksLikeAUrl()` that checks if an url is valid.

It works well, but it checks tld length is <5.

TLD could be longer[0], so we should remove that restriction and find a better strategy to verify tld.


Related branches

Olivier Tilloy (osomon) on 2015-04-07
Changed in webbrowser-app:
status: New → Confirmed
importance: Undecided → Medium
description: updated
Bartosz Kosiorek (gang65) wrote :

The best URL validator I had found is available at:
There is no size limit for TLD.

Changed in webbrowser-app:
status: Confirmed → In Progress
assignee: nobody → Riccardo Padovani (rpadovani)
Olivier Tilloy (osomon) on 2015-05-11
summary: - Update looksLikeAUrl() function
+ Address bar doesn't support new TLDs
Olivier Tilloy (osomon) on 2015-05-13
Changed in webbrowser-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers