Skip to content

Commit 0e8bcf7

Browse files
committed
Added tests to ensure URLs with ports or authentication survive parsing in and out
1 parent ba80a1f commit 0e8bcf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/UrlTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public function urlsParserProvider()
1515
['https://animoto.com/oembeds/create.xml?automated=true&options=start_hq', 'https://animoto.com/oembeds/create.xml?automated=true&options=start_hq'],
1616
['http://static2.politico.com/dims4/default/28fb355/2147483647/resize/1160x%3E/quality/90/?url=http%3A%2F%2Fs3-origin-images.politico.com%2F2013%2F12%2F18%2F131218_george_w_bush_barack_obama_ap_60', 'http://static2.politico.com/dims4/default/28fb355/2147483647/resize/1160x%3E/quality/90/?url=http%3A%2F%2Fs3-origin-images.politico.com%2F2013%2F12%2F18%2F131218_george_w_bush_barack_obama_ap_60'],
1717
['https://plus.google.com/+carlsenverlag/posts/2hibgWrmhp1', 'https://plus.google.com/+carlsenverlag/posts/2hibgWrmhp1'],
18+
['http://test.drupal.dd:8083/tests/localport.html', 'http://test.drupal.dd:8083/tests/localport.html'],
19+
['http://[email protected]:8083/tests/identified.html', 'http://[email protected]:8083/tests/identified.html'],
20+
['http://testuser:[email protected]:8083/tests/authenticated.html', 'http://testuser:[email protected]:8083/tests/authenticated.html'],
1821
];
1922
}
2023

0 commit comments

Comments
 (0)