#126 base64 encode bugs

0.65
closed-wont-fix
nobody
Encoding (11)
5
2007-10-01
2007-06-05
lukeshei
No

SOAP::Data->type(base64 => $string)

The base64 encode will convert \n to \r\n.

Discussion

  • Martin Kutter

    Martin Kutter - 2007-10-01

    Logged In: YES
    user_id=884175
    Originator: NO

    This is the default in MIME::Base64.

    SOAP::Lite cannot pass it a $eol, without changing SOAP::Lite's API (in an inconsistent way).
    We can't just guess - strings may have inconsistent line endings.

    I'd suggest you encode your data first, passing a $eol string to encode_base64.

    SOAP::Lite will accept it as base64, if it's already base64 encoded.

    See MIME::Base64 for details.

    Regards,

    Martin

     
  • Martin Kutter

    Martin Kutter - 2007-10-01
    • assigned_to: byrnereese --> nobody
    • status: open --> closed-wont-fix
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks