comparison core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
561 ['http://example.com/foo', 'http://example.ca/', FALSE], 561 ['http://example.com/foo', 'http://example.ca/', FALSE],
562 // Different site path. 562 // Different site path.
563 ['http://example.com/foo', 'http://example.com/bar', FALSE], 563 ['http://example.com/foo', 'http://example.com/bar', FALSE],
564 ['http://example.com', 'http://example.com/bar', FALSE], 564 ['http://example.com', 'http://example.com/bar', FALSE],
565 ['http://example.com/bar', 'http://example.com/bar/', FALSE], 565 ['http://example.com/bar', 'http://example.com/bar/', FALSE],
566 // Ensure \ is normalised to / since some browsers do that.
567 ['http://www.example.ca\@example.com', 'http://example.com', FALSE],
568 // Some browsers ignore or strip leading control characters.
569 ["\x00//www.example.ca", 'http://example.com', FALSE],
566 ]; 570 ];
567 } 571 }
568 572
569 /** 573 /**
570 * Test invalid url arguments. 574 * Test invalid url arguments.