Development

Changeset 11163

You must first sign up to be able to contribute.

Changeset 11163

Show
Ignore:
Timestamp:
08/26/08 21:53:35 (1 year ago)
Author:
dwhittle
Message:

dwhittle: fixed sfWebRequest::getRequestFormat for changes in webkit (relates to #4266)

Files:

Legend:

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

    r10073 r11163  
    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.
Sensio Labs also supports several large Open-Source projects.