Permalink
Browse files

[Net] Add a TODO note about breaking lines in MIME, with reference to…

… ticket about the parrot core implementation, which makes the same mistake.
  • Loading branch information...
1 parent ad46d6f commit 697efd9c78111f0fa4d8f07d86cad403a17b8f0d @Whiteknight committed Sep 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/net/MimeBase64.winxed
View
4 src/net/MimeBase64.winxed
@@ -6,6 +6,10 @@
*/
class Rosella.Net.MimeBase64
{
+ // TODO: MIME standard says lines need to be broken after 76 characters. Implement
+ // this for encode and decode. See https://github.com/parrot/parrot/issues/826
+ // for more details.
+
const string PRINTABLE_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var eight_to_six;
var six_to_eight;

0 comments on commit 697efd9

Please sign in to comment.