#461: Add some error checks after preg_replaces in FPF
-------------------------+--------------------------------------------------
 Reporter:  david        |       Owner:  david    
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  0.11     
Component:  filter       |     Version:  0.11.0RC3
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 When in {{{/u}}} mode, {{{preg_*{}}}} will silently fail in case it comes
 across bad UTF-8 data. We can detect that by checking the final result
 string for emptiness. Also, since 5.2, there's {{{preg_last_error()}}}
 which we can use to double check. An exception explaining the issue in
 detail will help people avoid the pitfall of seeing blank pages.

-- 
Ticket URL: <http://trac.agavi.org/ticket/461>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to