Changeset 712cca


Ignore:
Timestamp:
04/27/15 13:17:44 (3 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
2b0b08
Parents:
6f7b2e
git-author:
pierre-alain <pierre-alain@…> (04/27/15 13:17:44)
git-committer:
pierre-alain <pierre-alain@…> (04/27/15 13:17:44)
Message:

some people dont send good content-type when serving .ico, it may result in good favicon uri not beeing treated as well. we let imagick (or GD) do the job

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OWR/Model/Streams.php

    r7c60cc r712cca  
    533533        } 
    534534 
     535        $this->_setUserTimestamp($datas); 
     536 
    535537        $request->setResponse(new Response(array( 
    536538            'datas'        => $datas, 
     
    11941196                    } 
    11951197 
    1196                     if(empty($icon) || false === strpos($headers['Content-Type'], 'image')) continue; 
     1198                    if(empty($icon) /*|| false === strpos($headers['Content-Type'], 'image')*/) continue; 
    11971199 
    11981200                    if(class_exists('Imagick', false)) 
Note: See TracChangeset for help on using the changeset viewer.