[jboss-dev-forums] [Design of JBoss Collaboration Server] - MessageData getBoundary() bug?

osterday do-not-reply at jboss.com
Thu Jul 27 11:17:57 EDT 2006


Guys,

I think this is a bug, but thought I'd post here before Jira.

In the getBoundary() method in MessageData, I think the line:

String[] header = getHeader("Content-Type").split("\\r\\n");

Should be moved into the try/catch.  If a message doesn't have a Content-Type, the method crashes.

Not sure how the writeMessage in CmdRETR in the pop3 handlers would handle this, but I'm using similar code to read messages via a servlet and this issue just popped up for us.

-Pat


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961320#3961320

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961320



More information about the jboss-dev-forums mailing list