Development

Changeset 6987

You must first sign up to be able to contribute.

Changeset 6987

Show
Ignore:
Timestamp:
01/07/08 20:38:32 (11 months ago)
Author:
fabien
Message:

fixed caching bug in production (closes #2764)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/response/sfWebResponse.class.php

    r6790 r6987  
    235235  public function setContentType($value) 
    236236  { 
    237     // add charset if needed on text/*, *xml 
     237    // add charset if needed (only on text content) 
    238238    if (false === stripos($value, 'charset') && (0 === stripos($value, 'text/') || strlen($value) - 3 === strripos($value, 'xml'))) 
    239239    {