cakephp2-php8/lib/Cake/Test/Case/Routing
Harold Putman 2fd36bdedc Router::url should passthru //example.com/file.ext
The function allows ://example.com/file.ext but was treating //example.com as cake-relative URL. The updated regex matches URI schemes as defined in RFC2396. Will passthru any of these formats:
* Starts with a valid URI scheme  (javascript:, https:, itunes:, ftp:)
* Starts with a '#'
* [NEW] Starts with a '?' which may be meaningless, but is as valid as starting with '#' (RFC1808)
* starts with //, or :// (:// is not technically valid, but included for compatibilty)
2013-06-21 15:10:11 -04:00
..
Filter Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Route more whitespace coding standard corrections 2013-06-09 17:39:48 +02:00
DispatcherTest.php more whitespace coding standard corrections 2013-06-09 17:39:48 +02:00
RouterTest.php Router::url should passthru //example.com/file.ext 2013-06-21 15:10:11 -04:00