geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Warner (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (GERONIMO-2863) Mail 1.4 InternetHeaders behavior difference compared to Sun's
Date Thu, 22 Feb 2007 13:51:06 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Warner reassigned GERONIMO-2863:
--------------------------------------

    Assignee: Jason Warner

> Mail 1.4 InternetHeaders behavior difference compared to Sun's
> --------------------------------------------------------------
>
>                 Key: GERONIMO-2863
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2863
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>            Reporter: Daniel Kulp
>         Assigned To: Jason Warner
>            Priority: Minor
>
> The InternetHeaders object's parsing is less "forgiving" of headers that don't meet specs
compared to Sun's.
> Sun's implementation allows headers to be using "unix style" (just LF) and will parse
them fine.
> The 1.4 version of Geronimo's only breaks on the CR and then blindly consumes the next
char (should be the LF).   If the stream only has LF's, everything is read into a single header.

> I know the spec says the stream should be CR/LF so the behavior is fine for proper streams.
 However, it is a behavior change that COULD make it not a drop in replacement for Suns. 
(in our case, we had some test data that were "svn:eol_style: native" that passed on Windows,
but not on Unix.   Changing them to "svn:eol_style: CRLF" fixed it.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message