Hello,

I've tried to use PHPTAL with templates with some long text nodes (i.e.
<p>long text here...</p>),
and noticed that PHPTAL generates internal server error (500) (tested on
1.2.0b3 and svn HEAD).
Error is generated by preg_match() call in checkEncoding() method of
PHPTAL_Dom_SaxXmlParser class (line 373). It seems that PCRE fails with long
strings. The exact
length of string depends on machine I've tested on, but 9.5k should be
enough to generate error.
I know, that this is not PCRE issue, not PHPTAL, but maybe PHPTAL should
perform encoding checking in
other way?

Regards,
Michał W.
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to