#1183: FormPopulationFilter raises warning at line 215
-------------------------------+--------------------------------------------
Reporter: mug...@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2
Component: filter | Version: 1.0.1
Severity: normal | Keywords:
Has_patch: 0 |
-------------------------------+--------------------------------------------
Comment(by MugeSo <mug...@…>):
simply, the regex code used in FPF raises warning in my environment.
{{{
preg_match('/;\s*charset=(")?(?P<charset>.+?(?(-2)(?=(?<!\\\\)")|(?=[;\s])))(?(-2)")/i',
'');
}}}
My environment(snippet):
PHP 5.2.11
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 6.6 06-Feb-2006
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.5
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
--
Ticket URL: <http://trac.agavi.org/ticket/1183#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets