tablatom/hobo — pull request #49 by iox (2012-08-06 09:07:28+00:00)
Title: Fix problem with long part context codes.

We suffered a problem while using partials: if "data" was bigger than 60 characters, a newline character was being added to the part ('\n'). When parsing this with jquery, it was removing the new line, and so we were getting a TamperedWithPartContext error.

We found out that replacing encode64 with strict_encode64 solved our problem.

See http://stackoverflow.com/questions/2620975/strange-n-in-base64-encoded-string-in-ruby