Commits

Jon Meredith  committed 6a7f37f

Changed multipart/mixed processing to handle lines terminated with \r\n as well as \n.

  • Participants
  • Parent commits 1050c2f
  • Tags riak-0.10

Comments (0)

Files changed (1)

     },
     parseSiblings: function(vclock, text) {
       var c = text.split('\n');
+      for (var i = 0; i < c.length; i++) {
+        if (c[i].charAt(c[i].length-1) == '\r')
+          c[i] = c[i].slice(0, -1)
+      }
       c = c.slice(1).slice(0, c.length - 2);
       var separator = c[0];
       c = c.slice(1);
   return path;
 };
 
-/** End RiakClient internal Functions **/
+/** End RiakClient internal Functions **/