[TYPO3-dev] enableContentLengthHeader and PHP-Session

Christian Welzel gawain at camlann.de
Tue Dec 2 15:30:13 CET 2008


hi there,

is there a known way to detect, if PHP will rewrite all links in a website
to contain the PHPSESSIONID value? In this case, TYPO3 should disable the
sending of the content length header even if enableContentLengthHeader is
set to true.
Why that? Today i was using the w3c validator for a page and noticed, that
it complained about errors of not correctly closed tags. But in my browser
all was ok. After digging around for a while, i found that php rewrote some
of the links to include the session id and this way the document got longer
than the value TYPO3 sended in the content length header. The validator cut
off the rest of bytes of the document.


-- 
MfG, Christian Welzel

   GPG-Key:     http://www.camlann.de/key.asc
   Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15




More information about the TYPO3-dev mailing list