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

--- Comment #4 from Konstantin Preißer <prei...@web.de> ---
Hi Konstantin,

(In reply to comment #3)
> See o.a.tomcat.util.http.parser.AstMediaType#toString(), #toStringNoCharset()
> s/sb.append(';');/sb.append("; ");/

Thank you.
You are right: When I apply this change to the Tomcat 7.0.30 sources, then
Adobe Reader loads the PDF in IE without any error.

So it seems that indeed the client (I guess IE if Adobe Reader uses its API to
do HTTP requests, since IE's User-Agent is submitted and the problem does not
occur on Firefox or Chrome) is expecting a whitespace after the ";".

Although it is not really a Tomcat bug since the absent whitespace is
spec-compliant as you said, I also think a whitespace should be added to not
exclude non-spec-compliant clients.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to