8000 merged branch nikrou/relative-path-with-slash (PR #7434) · symfony/symfony@47cf973 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47cf973

Browse files
committed
merged branch nikrou/relative-path-with-slash (PR #7434)
This PR was merged into the 2.1 branch. Commits ------- e6b7515 [DomCrawler] added support for query string with slash Discussion ---------- [DomCrawler] added support for query string with slash | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Link\getUri() failed to return correct uri when current query string contains slash Test pass on branch 2.1 but fails on master
2 parents e1cd990 + e6b7515 commit 47cf973

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/DomCrawler/Tests/LinkTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public function getGetUriTests()
102102
array('?foo 6204 =2', 'http://localhost/bar/?foo=1', 'http://localhost/bar/?foo=2'),
103103
array('?bar=2', 'http://localhost?foo=1', 'http://localhost?bar=2'),
104104

105+
array('foo', 'http://login.foo.com/bar/baz?/query/string', 'http://login.foo.com/bar/foo'),
106+
105107
array('.', 'http://localhost/foo/bar/baz', 'http://localhost/foo/bar/'),
106108
array('./', 'http://localhost/foo/bar/baz', 'http://localhost/foo/bar/'),
107109
array('./foo', 'http://localhost/foo/bar/baz', 'http://localhost/foo/bar/foo'),

0 commit comments

Comments
 (0)
0