[
https://issues.apache.org/jira/browse/OFBIZ-6554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620431#comment-14620431
]
Jacques Le Roux edited comment on OFBIZ-6554 at 7/9/15 12:33 PM:
-----------------------------------------------------------------
Thanks Francis,
At 19.5.1 section of http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html I
read this example << Content-Disposition: attachment; filename="fname.ext">> So
you solution is indubitably the right one
Your patch is in
trunk r1690086
R14.12 r1690087
R13.07 r1690088
R12.04 r1690089
was (Author: jacques.le.roux):
Thanks Francis,
At 1935.1 section of http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html I
read this example << Content-Disposition: attachment; filename="fname.ext">> So
you solution is indubitably the right one
Your patch is in
trunk r1690086
R14.12 r1690087
R13.07 r1690088
R12.04 r1690089
> streamContentToBrowser fails when the file name contains a comma, only with
> Chrome.
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-6554
> URL: https://issues.apache.org/jira/browse/OFBIZ-6554
> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS, content
> Affects Versions: Trunk
> Environment: Ubuntu 14.04 and Chromium 43.0.2357.81
> Reporter: Francis Douet
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6554.patch
>
>
> streamContentToBrowser fails when the file name contains a comma, happens
> only with Google Chrome.
> Can easily be reproduced for example by uploading the Logo Image URL of the
> default organization in the party manager, that includes a comma of course.
> Fixed in my patch by wrapping the file name in quotes.
> Error on the browser console:
> GET https://localhost:8443/content/control/stream?contentId=10020
> net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)