#109 SOAP::Serializer doesn't serialize < > and &

0.65
closed-duplicate
nobody
5
2007-10-02
2006-08-03
No

Hi there,

In SOAP stings containing characters like > < or &
should be serialized to gt; lt; and amp; and they
aren't. This is a nasty bug, and that's what's causing
stuff like this:
http://rt.cpan.org/Ticket/Display.html?id=20707

Fixing it shouldn't be hard, yet this is a critical bug.

Discussion

  • Marcos Daniel Marado Torres

    Logged In: YES
    user_id=512911

    Here goes an ugly patch to fix this.
    Despite its uglyness, and despite this only fixing the
    serialization and not the deserialization, it will suffice
    to avoid the pain in the ass of trying to know why your
    requests are being rejected as being malformed.

     
  • Nobody/Anonymous

    Logged In: NO

    This seems related to the bug I have described in 1562278

     
  • John D

    John D - 2006-10-02

    Logged In: YES
    user_id=978068

    This may be related to the bug we discovered today. If the
    string containing "&" also contained "http://" then this
    happens. Please see request: 1569418 for a different less
    "ugly" fix if your situation is the same.

     
  • Marcos Daniel Marado Torres

    Logged In: YES
    user_id=512911

    Yes, this fixes it.
    Closing 1569418 should close this bug too.

     
  • Martin Kutter

    Martin Kutter - 2007-10-02

    Logged In: YES
    user_id=884175
    Originator: NO

    Fixed as duplicate, as mindbooster regards it a duplicate of 1569418 (which has been fixed in CVS).

     
  • Martin Kutter

    Martin Kutter - 2007-10-02
    • assigned_to: byrnereese --> nobody
    • status: open --> closed-duplicate
     

Log in to post a comment.