On Monday 25 April 2011 1:57:48 PM Benson Margulies wrote: > Well, but why is the trailing > omitted?
Looks like a bug: Line 159 of Attachment Util: id = "Content-ID: <[email protected]"; Likely something is wrong around there. The best option is probably to move the "decode" into the above "if" and set the id to just [email protected] or something at that point. And "Content-ID: " definitely shouldn't be there. Can you log that (and maybe fix it)? Dan > > On Mon, Apr 25, 2011 at 1:53 PM, Sergey Beryozkin <[email protected]> wrote: > > Hi > > > > On Mon, Apr 25, 2011 at 6:47 PM, Benson Margulies <[email protected]> wrote: > >> I'm just posting a form from Chrome. Note the strange content-id, > >> which is the same in all of my attachments. This is with 2.4.0. > >> > >> {Content-Disposition=[form-data; name="file"; filename="cmp.patch"], > >> Content-Type=[application/octet-stream], Content-ID=[Content-ID: > >> <[email protected]]} > > > > CXF probably defaults to <[email protected]> on the input ? > > The format is a bit strange all right, but I think Content-Id is > > actually OK, you can get the list of headers and Content-Id in > > particular from Attachment objects and confirm > > > > Cheers, Sergey -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
