commit | d0d626655f1d452070d3116678037e8759f807f4 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Thu Nov 10 11:55:55 2011 -0500 |
committer | Jesse Wilson <jessewilson@google.com> | Thu Nov 10 11:55:55 2011 -0500 |
tree | de9638e4126817e1f97fa2fedb7980f2a917f81c | |
parent | 71681ee6f46535ed43de50217dac04bfbaebc083 [diff] |
Don't NullPointerException when a URL contains a space. We end up creating a URI of http://and%20roid which has no host name part because and%20roid is not a valid host name. It's unclear where the best place to fail is. This is consistent with the RI which doesn't fail until it attempts to connect. Bug: http://code.google.com/p/android/issues/detail?id=16895 Change-Id: Ifa4dc3c651f4627e27622ed5cedfa820f9a35358