ICEfaces
  1. ICEfaces
  2. ICE-2892

Allow ResourceDispatcher to serve explicitly-named Resources

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7RC1
    • Fix Version/s: 1.7.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      n/a

      Description

      An improvement to our Resource registry api would be to allow the serving of named files, instead of always encoding the name. This would allow the api to be more easily used for use cases involving the serving of files where naming is important (eg. an excel export of data). Even though the mime-type can be specified, browsers will not open the proper application for some types (eg. .xls) unless the proper extension is maintained.

        Issue Links

          Activity

          Hide
          Philip Breau added a comment -

          suggested changes

          Show
          Philip Breau added a comment - suggested changes
          Hide
          Ken Fyten added a comment -

          ICE-1623 needs this enhancement, and includes an initial attempt at it from Philip. Please take a look.

          Is there a security concern with this?

          Show
          Ken Fyten added a comment - ICE-1623 needs this enhancement, and includes an initial attempt at it from Philip. Please take a look. Is there a security concern with this?
          Hide
          Mircea Toma added a comment -

          Change ResourceRegistry interface to allow for named resource registration. Refactor implementation.
          This fix has no security related ramifications.

          Show
          Mircea Toma added a comment - Change ResourceRegistry interface to allow for named resource registration. Refactor implementation. This fix has no security related ramifications.

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: