Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22430

XFrame Filter Plugin forgets settings upon Jenkins restart

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • xframe-filter-plugin
    • CentOS 6.5
      Latest Jenkins version from repo
      Latest X-Filter Plugin installed via the Jenkins update center

    Description

      I'm using the XFrame Filter Plugin to allow Jenkins to be embedded into an iFrame. To make this work I need to set the X-Frame-Options Options configuration parameter to ALLOW-FROM http://my-address.

      This works fine but when I restart Jenkins (e.g. due to maintenance on the machine) the plugin looses the configuration and restores the value of "X-Frame-Options Options" to SAMEORIGIN which is odd because I have to re-configure the plugin after evey restart of Jenkins.

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecorator.java
            src/test/java/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecoratorTest.java
            src/test/resources/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecoratorTest/configuration.zip
            http://jenkins-ci.org/commit/xframe-filter-plugin/39ca4304d4ceceeb9080638821262dcff6aa7505
            Log:
            [FIXED JENKINS-22430] Settings not loaded properly after restart.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecorator.java src/test/java/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecoratorTest.java src/test/resources/org/jenkins/ci/plugins/xframe_filter/XFrameFilterPageDecoratorTest/configuration.zip http://jenkins-ci.org/commit/xframe-filter-plugin/39ca4304d4ceceeb9080638821262dcff6aa7505 Log: [FIXED JENKINS-22430] Settings not loaded properly after restart.

            For now...is there some place on disk we can set it to get reloaded on restart?

            gavinagoodtime Gavin Goodrich added a comment - For now...is there some place on disk we can set it to get reloaded on restart?
            skyvalley83 Marvin Kruse added a comment -

            Fixed typo

            skyvalley83 Marvin Kruse added a comment - Fixed typo

            People

              jglick Jesse Glick
              skyvalley83 Marvin Kruse
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: