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

          Philip Breau created issue -
          Hide
          Philip Breau added a comment -

          suggested changes

          Show
          Philip Breau added a comment - suggested changes
          Philip Breau made changes -
          Field Original Value New Value
          Attachment 2892.diff [ 10975 ]
          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?
          Ken Fyten made changes -
          Fix Version/s 1.7.1 [ 10122 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Link This issue blocks ICE-1623 [ ICE-1623 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16661 Tue May 20 14:57:29 MDT 2008 mircea.toma Change ResourceRegistry interface to allow for named resource registration. Refactor implementation. ICE-2892
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ResourceRegistry.java
          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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Summary Allow ResourceDispatcher to serve explicitly-named Reources Allow ResourceDispatcher to serve explicitly-named Resources
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16703 Mon May 26 15:30:26 MDT 2008 mircea.toma Change ResourceRegistry interface to allow for named resource registration. Refactor implementation. ICE-2892
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/ResourceRegistry.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: