https://bugzilla.wikimedia.org/show_bug.cgi?id=52325

       Web browser: ---
            Bug ID: 52325
           Summary: Be more strict when validating URLs.
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

validating url values currently allows for invalid URLs to pass, e.g.:

* "http://"; is allowed
* "http://yadda.yadda/foo bar" is allowed

We should check at least that:

* there is no white space in the URL
* for http/https, that the ":" is followed by "//" and a non-empty host name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to