mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Additional URL-parsing fixes for IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4701 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
43297e3abd
commit
823dac8166
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class Router extends Object {
|
||||||
$out = array();
|
$out = array();
|
||||||
$r = $ext = null;
|
$r = $ext = null;
|
||||||
|
|
||||||
if ($url && strpos($url, '/') !== 0 && !defined('SERVER_IIS')) {
|
if ($url && strpos($url, '/') !== 0) {
|
||||||
$url = '/' . $url;
|
$url = '/' . $url;
|
||||||
}
|
}
|
||||||
if (strpos($url, '?') !== false) {
|
if (strpos($url, '?') !== false) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue