Development

Changeset 11167

You must first sign up to be able to contribute.

Changeset 11167

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

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

Files:

Legend:

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

    r10627 r11167  
    645645 
    646646        // skip if no acceptable content types or browsers 
    647         if (isset($acceptableContentTypes[0]) && 'text/xml' != $acceptableContentTypes[0]
     647        if (isset($acceptableContentTypes[0]) && ('text/xml' != $acceptableContentTypes[0] && 'application/xml' != $acceptableContentTypes[0])
    648648        { 
    649649          $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.