ICEfaces
  1. ICEfaces
  2. ICE-11529

ace:dynamicResource, foreign characters in file names aren't encoded correctly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.3.0.GA_P03, EE-3.3.0.GA_P09
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      Foreign characters in file names aren't encoded correctly when downloading files via ace:dynamicResource.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r53432: Add URLEncoder.encode() processing to the resource's file name for the default case (3.3 trunk).

        Show
        Arturo Zambrano added a comment - r53432: Add URLEncoder.encode() processing to the resource's file name for the default case (3.3 trunk).
        Hide
        Arturo Zambrano added a comment -

        r53438: Committed fix to the 4.3 trunk.

        Show
        Arturo Zambrano added a comment - r53438: Committed fix to the 4.3 trunk.
        Hide
        Arturo Zambrano added a comment -

        A further fix was committed to both 3.3 and 4.3 trunks and to their respective tags for the next releases, as well as to the customer's branch.

        It was found that on MacOS files downloaded via ace:dynamicResource that contained foreign characters the file names of these files were incorrect and contained the URL-encoded versions of those names instead. This was fixed by updating the format expected by newer browsers for the file names specified in the Content-Disposition HTTP header.

        Show
        Arturo Zambrano added a comment - A further fix was committed to both 3.3 and 4.3 trunks and to their respective tags for the next releases, as well as to the customer's branch. It was found that on MacOS files downloaded via ace:dynamicResource that contained foreign characters the file names of these files were incorrect and contained the URL-encoded versions of those names instead. This was fixed by updating the format expected by newer browsers for the file names specified in the Content-Disposition HTTP header.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: