Issue was created - https://github.com/symfony/symfony/issues/3896

On Tuesday, April 10, 2012 5:36:48 PM UTC+3, Dattaya wrote:
>
> SensioFrameworkExtraBundle sets an empty array as a default value of a 
> vary header - 
> https://github.com/sensio/SensioFrameworkExtraBundle/blob/master/Configuration/Cache.php#L57.
>  
> And I get "Notice: Undefined offset: 0" because "lookup" method in 
> HttpKernel/HttpCache/Store.php doesn't check whether 0 element exists:
> if ($this->requestsMatch(isset($entry[1]['vary']) ? $entry[1]['vary'][0] : 
> ''
>
> - 
> https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/HttpCache/Store.php#L112
>
> Should issue be created for HttpKernel component?
>
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to