Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-166

XssFilter causes exception if the parameter is missing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.2
    • Fix Version/s: 0.1.2
    • Component/s: User Interface
    • Labels:
      None

      Description

      In XssFilter, if the parameter is missing, it will cause exception. We need to handle the case where parameter is not there. For example, in my case, the parameter "height" is missing.

      1. patch
        2 kB
        Terence Kwan

        Activity

        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/8/ )
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Terence.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Terence.
        Hide
        terencekwan Terence Kwan added a comment -

        Handle XssFilter missing parameter problem.

        Show
        terencekwan Terence Kwan added a comment - Handle XssFilter missing parameter problem.
        Hide
        terencekwan Terence Kwan added a comment -

        Patch for XssFilter.java to handle missing parameter value.

        Show
        terencekwan Terence Kwan added a comment - Patch for XssFilter.java to handle missing parameter value.

          People

          • Assignee:
            terencekwan Terence Kwan
            Reporter:
            terencekwan Terence Kwan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development