Skip to content

Commit

Permalink
! fix #1882 case normalization should only affect key
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Nov 27, 2014
1 parent 4cc9c53 commit 0c56013
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sources/CurlFetchWebdata.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ private function _buildPostData($post_data)
}
else
return $post_data;

}

/**
Expand Down Expand Up @@ -352,7 +351,7 @@ private function _headerCallback($cr, $header)

// set proper headers only
if (isset($temp[0]) && isset($temp[1]))
$this->_headers[strtolower($temp[0])] = strtolower(trim($temp[1]));
$this->_headers[strtolower($temp[0])] = trim($temp[1]);

// return the length of what was *passed* unless you want a Failed writing header error ;)
return strlen($header);
Expand Down

0 comments on commit 0c56013

Please sign in to comment.