ICEfaces
  1. ICEfaces
  2. ICE-9619

Comp CoreUtils.resolveResourceURL should check for null path

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      compat

      Description

      The CoreUtils.resolveResourceURL() method does not check for a null or empty path. If a null path is passed in, an NPE will occur. It should check for null or empty string, and pass back an empty string if so.

        Activity

        Hide
        Philip Breau added a comment -

        Revision: 38326
        Author: philip.breau
        Date: October-01-13 9:41:48 AM
        Message:
        ICE-9619 Comp CoreUtils.resolveResourceURL should check for null path


        Modified : /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/util/CoreUtils.java

        Show
        Philip Breau added a comment - Revision: 38326 Author: philip.breau Date: October-01-13 9:41:48 AM Message: ICE-9619 Comp CoreUtils.resolveResourceURL should check for null path Modified : /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/util/CoreUtils.java
        Hide
        Mircea Toma added a comment -

        Backported fix.

        Show
        Mircea Toma added a comment - Backported fix.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: