symfony/symfony — Issue #2834: Request class's `getEtag` method is reading the wrong header
Author: mansoor-s
Created: 2011-12-10 12:13:42+00:00
State: open

I believe there is a typo in the Request class's getEtag method. On line 1045
the 'if_none_match' in

return preg_split('/\s*,\s*/', $this->headers->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY);

should be
'if-none-match'