commit | 8bb37f7ffb24ab06576dd4225ab0a5e1828a0d07 | [log] [tgz] |
---|---|---|
author | Steve Block <steveblock@google.com> | Tue Sep 07 18:33:26 2010 +0100 |
committer | Steve Block <steveblock@google.com> | Tue Sep 07 18:57:41 2010 +0100 |
tree | 8772db2f58255b3bd0f3f055f32800308a983771 | |
parent | 582deec1f3c8f51b431bb2ad685c9217ffd9eaad [diff] |
Adds a test case for WebAddress where the path component does not have a leading slash When a URL is malformed because the path does not start with a slash, we assume that the path starts with the first character that is not valid in the host and insert a leading slash. This is the reason why the regex for the path component does not force a leading slash. Bug: 1011602 Change-Id: I8efe46c058d2ee2d1a6a4406ee25dc021315222b