mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
#19619300 get_vars 변수에 이미 초기화 된 값이 있을 경우 값을 overwrite 하게 되면서 문제가 생김
content라는 변수가 url parameter에 들어가게 되면 이미 셋팅되어 있으므로 해당 변수명과 동일한 실제 page의 content를 get_vars->content라는 곳에 overwrite 하게 됨 get_vars를 가져와서 사용하는 getUrl 같은 곳에서 이상 url이 셋팅되게 됨. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8181 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1a5df8c811
commit
03e0340b46
1 changed files with 2 additions and 2 deletions
|
|
@ -885,7 +885,7 @@
|
|||
if(is_array($args_list) && $args_list[0]=='') array_shift($args_list);
|
||||
} else {
|
||||
// Otherwise, make GET variables into array
|
||||
$get_vars = get_object_vars($this->get_vars);
|
||||
$get_vars = $_GET;
|
||||
}
|
||||
|
||||
// arrange args_list
|
||||
|
|
@ -948,7 +948,7 @@
|
|||
$query .= ($query?'&':'').$key.'='.urlencode($val);
|
||||
}
|
||||
}
|
||||
if($query) $query = '?'.$query;
|
||||
if($query) $query = 'index.php?'.$query;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue