Commit bcbac517 bcbac517f78ef9a69b7a9af04a56aca81f7d577c by Sergey Poznyakoff

(qp_decode): Bugfix. According to RFC underscore represents space.

1 parent a7525c2a
......@@ -472,6 +472,12 @@ qp_decode (const char *iptr, size_t isize, char *optr, size_t osize,
consumed += 2;
}
}
else if (c == '_')
{
*optr++ = ' ';
(*nbytes)++;
consumed++;
}
else
{
*optr++ = c;
......