Skip to content

Commit be0c60a

Browse files
committed
Header decoding problem fixed Webklex#31
1 parent aa4b53f commit be0c60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function rfc822_parse_headers($raw_headers){
204204
}else{
205205
if (($pos = strpos($line, ":")) > 0) {
206206
$key = trim(rtrim(strtolower(substr($line, 0, $pos))));
207-
$value = trim(rtrim(strtolower(substr($line, $pos + 1))));
207+
$value = trim(rtrim(substr($line, $pos + 1)));
208208
$headers[$key] = [$value];
209209
$prev_header = $key;
210210
}

0 commit comments

Comments
 (0)