dnrajugade / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

URLValidator #1191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently it is hard to find a URL-Validator that works properly. Java's  
java.net.URL(String)-Constructor doesn't throw a MalformedUrlException in any 
case and org.apache.commons.validator.routines.UrlValidator ain't better (e.g. 
"http://usr:pwd@localhost" validates always to false).

I think validating URLs is a common task so it could find a home in guava? It 
would be nice to see a class that provides also methods to validate specific 
parts of a URL like username,password, query, fragment and so on, without a 
lookup or other network-operations.

Original issue reported on code.google.com by chriss....@gmail.com on 5 Nov 2012 at 3:17

GoogleCodeExporter commented 9 years ago
This is definitely something we want to do. It will just be a while. We have to 
sort through a number of issues with our existing classes (and maybe cut some 
dependencies).

Original comment by cpov...@google.com on 5 Nov 2012 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by cpov...@google.com on 7 Nov 2012 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by kak@google.com on 22 Aug 2013 at 11:19

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:13

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08