Allow '@' for ' ' in uuencoded files.
diff --git a/Modules/binascii.c b/Modules/binascii.c
index cd80672..8d47840 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -227,8 +227,11 @@
*/
this_ch = 0;
} else {
- /* Check the character for legality */
- if ( this_ch < ' ' || this_ch > (' ' + 63)) {
+ /* Check the character for legality
+ ** The 64 in stead of the expected 63 is because there are a few
+ ** uuencodes out there that use '@' as zero in stead of space.
+ */
+ if ( this_ch < ' ' || this_ch > (' ' + 64)) {
PyErr_SetString(Error, "Illegal char");
Py_DECREF(rv);
return NULL;