Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ed0ee3b

Browse files
committed
fix headers encoding
1 parent e305c81 commit ed0ee3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎src/Message.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -959,10 +959,6 @@ private function encodeHeader($header, $value)
959959
if ($char === 32 && $num + 1 === $all) {
960960
$ascii = false;
961961
}
962-
if ($num < $offset) {
963-
$ascii = true;
964-
$coding = false;
965-
}
966962
if (!$coding && $char === 61 && preg_match('/;(\s+)?([a-z0-9\-]+)(\s+)?(=(\s+)?\"[^\"]+)?/ui', $result)) {
967963
$ascii = true;
968964
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /