diff options
author | Xan Lopez <xan@igalia.com> | 2012-08-15 00:09:08 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-08-15 00:09:08 +0800 |
commit | 2801de37638347280be76be5c7e34b1237236b7d (patch) | |
tree | 67a45ebf041d7a683f3dbf1ab68a4c0972d66168 /tests | |
parent | 33f9683837f7f1130851c3f234dec00a6c1ae505 (diff) | |
download | gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar.gz gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar.bz2 gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar.lz gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar.xz gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.tar.zst gsoc2013-epiphany-2801de37638347280be76be5c7e34b1237236b7d.zip |
ephy-web-view: ignore paths when deciding whether a URI has a TLD
SoupTLD is not happy if we give it something like ".com/blah/blah".
Add a unit test for this case too.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ephy-web-view-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c index bc41ffff6..29739b1ae 100644 --- a/tests/ephy-web-view-test.c +++ b/tests/ephy-web-view-test.c @@ -283,6 +283,7 @@ static struct { } normalize_or_autosearch[] = { { "google.com", "http://google.com" }, { "http://google.com", "http://google.com" }, + { "http://google.com/this/is/a/path", "http://google.com/this/is/a/path" }, { "search", "http://www.google.com/search?q=search&ie=UTF-8&oe=UTF-8" }, { "search.me", "http://search.me" }, { "lala.lala", "http://www.google.com/search?q=lala%2Elala&ie=UTF-8&oe=UTF-8" }, |