← Back to team overview

touch-packages team mailing list archive

[Bug 948086] Re: Web url regexp matches non url

 

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/948086

Title:
  Web url regexp matches non url

Status in Unity:
  Fix Released
Status in Unity Files Lens:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity-lens-files” package in Ubuntu:
  Fix Released

Bug description:
  Current regexp:

  web_regex = new Regex ("([a-zA-Z0-9\\-]+\\...+|http[s]{0,1}://.+)");

  matches against non urls, like "daemon.vala". It needs to validate
  TLDs to be effective.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/948086/+subscriptions