1--TEST--
2Bug #65483: quoted-printable encode stream filter incorrectly encoding spaces
3--FILE--
4<?php
5
6$data = 'a b=c d';
7
8$fd = fopen('php://temp', 'w+');
9fwrite($fd, $data);
10rewind($fd);
11
12$res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ);
13var_dump(stream_get_contents($fd, -1, 0));
14
15fclose($fd);
16
17?>
18--EXPECT--
19string(9) "a b=3Dc d"
20