Development

Changeset 6988

You must first sign up to be able to contribute.

Changeset 6988

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

fixed caching bug in production (closes #2764)

Files:

Legend:

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

    r6791 r6988  
    246246  public function setContentType($value) 
    247247  { 
    248     // add charset if needed on text/*, *xml 
     248    // add charset if needed (only on text content) 
    249249    if (false === stripos($value, 'charset') && (0 === stripos($value, 'text/') || strlen($value) - 3 === strripos($value, 'xml'))) 
    250250    {