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

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P10 [ 13877 ]
        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).
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53438 Fri Jan 07 09:21:44 MST 2022 art.zambrano ICE-11529 Add URLEncoder.encode() processing to the resource's file name for the default case
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dynamicresource/DynamicResource.java
        Arturo Zambrano made changes -
        Fix Version/s EE-4.3.0.GA_P04 [ 13876 ]
        Arturo Zambrano made changes -
        Affects Version/s EE-4.3.0.GA_P03 [ 13570 ]
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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: