Skip to content

Commit

Permalink
combineVary bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Jun 7, 2018
1 parent 607ad73 commit d120130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/HTTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ protected static function combineVary($vary)
{
$varies = array();
foreach (func_get_args() as $arg) {
$argVaries = preg_split("/\s*,\s*/", trim($arg));
$argVaries = array_filter(preg_split("/\s*,\s*/", trim($arg)));
if ($argVaries) {
$varies = array_merge($varies, $argVaries);
}
Expand Down

0 comments on commit d120130

Please sign in to comment.