21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 586 Views |
-
HTTP.setGetVar bug

12 August 2010 at 1:44am
There is a bug in setGetVar. Bug occurs for links with '&' as entity (default value for $separator = '&'). PHP function
parse_url works correctly only where ulr params are seprated by & not by entity. So this line is wrong$parts = parse_url($uri);
befor that sholud be one of this lines:
$uri = str_replace('&', '&', $uri); or
$uri = str_replace($separator, '&', $uri); -
Re: HTTP.setGetVar bug

12 August 2010 at 10:44pm
Please submit bugs to open.silverstripe.org as tickets. Then it can be assigned to developer to look at.
| 586 Views | ||
|
Page:
1
|
Go to Top |


