Development

Changeset 11166

You must first sign up to be able to contribute.

Changeset 11166

Show
Ignore:
Timestamp:
08/26/08 22:18:00 (10 months ago)
Author:
dwhittle
Message:

1.1: fixed sfWebRequest::getRequestFormat does not handle latest webkit (closes #4266)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/request/sfWebRequest.class.php

    r9960 r11166  
    996996 
    997997        // skip if no acceptable content types or browsers 
    998         if (isset($acceptableContentTypes[0]) && 'text/xml' != $acceptableContentTypes[0]
     998        if (isset($acceptableContentTypes[0]) && ('text/xml' != $acceptableContentTypes[0] && 'application/xml' != $acceptableContentTypes[0])
    999999        { 
    10001000          $this->setRequestFormat($this->getFormat($acceptableContentTypes[0])); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.