https://issues.apache.org/bugzilla/show_bug.cgi?id=42061


coheigea <cohei...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23167|0                           |1
        is obsolete|                            |




--- Comment #6 from coheigea <cohei...@apache.org>  2009-05-19 08:50:24 PST ---
Created an attachment (id=23692)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23692)
A new patch for this issue

Hi Sean,

I had a look at disabling line breaks on a per-signature basis. It's more
tricky than it appears, as there are lots of calls to insert line breaks in
various constructors, and you quickly end up with a lot of work. 

Please see attached for a revised (and simple!) patch. It just fixes the case
in Base64 for automatically inserting line breaks when the encoded length was
greater than 76. So even when line breaks were disabled via the System
property, xml-sec was still inserting line-breaks e.g. in
<ds:Modulus>...</ds:Modulus>.

I'm happy just to leave things as they are, and to close this JIRA once the new
patch is applied.

Colm.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to