chennqqi / google-url

Automatically exported from code.google.com/p/google-url
Other
0 stars 0 forks source link

http://user:pass@/ should be an invalid url #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
GURL raw("http://user:pass@/");
CHECK(raw.is_valid());
GURL origin = raw.GetOrigin();
CHECK(origin.is_valid());

The first CHECK passes.  The second check fails.

The first CHECK seems like it should fail.

Original issue reported on code.google.com by willchan@chromium.org on 13 Jul 2009 at 10:23

GoogleCodeExporter commented 8 years ago
Fixed in r109

Original comment by willchan@chromium.org on 28 Jul 2009 at 6:08