#1315: AgaviException::buildParamList breaks multibyte string parameter.
-------------------------------+--------------------------------------------
Reporter: mug...@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4
Component: exception | Version: 1.0.3
Severity: normal | Keywords:
Has_patch: 0 |
-------------------------------+--------------------------------------------
AgaviException::buildParamList breaks multibyte string parameter, because
substr_replace at line.129 in AgaviException::buildParamList is not
multibyte string safe.
{{
$val = var_export(strlen($param) > 51 ? substr_replace($param, ' … ', 25,
-25) : $param, true);
}}
see: http://jp.php.net/manual/ja/function.substr-replace.php#90146
--
Ticket URL: <http://trac.agavi.org/ticket/1315>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets