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

<iframe> tag not working after upgrading to Jenkins Version 1.559. Does'nt display anything in Dashboard View either HTML/Plaintext. Need a quick resolution or any patch to fix this.

      <iframe> tag not working after upgrading to Jenkins Version 1.599. Does'nt display anything in Dashboard View either HTML/Plaintext.
      We are adding iframe in Text Section of a Sectioned View but does'nt display the content. Need a quick resolution or any patch to fix this. Kindly help in resolving this issue.

          [JENKINS-23198] <iframe> tag not working after upgrading to Jenkins Version 1.559. Does'nt display anything in Dashboard View either HTML/Plaintext. Need a quick resolution or any patch to fix this.

          Oleg Nenashev added a comment -

          Please create a bug to role-strategy plugin for the second case.
          It is definitely unrelated to the Dashboard View plugin

          Oleg Nenashev added a comment - Please create a bug to role-strategy plugin for the second case. It is definitely unrelated to the Dashboard View plugin

          Ramakrishna Bejawar added a comment - - edited

          Hi Oleg Nenashev
          Sure. Will raise a bug for second one addressing to fix Role-Strategy Plugin issue. Thanks for the info.

          Ramakrishna Bejawar added a comment - - edited Hi Oleg Nenashev Sure. Will raise a bug for second one addressing to fix Role-Strategy Plugin issue. Thanks for the info.

          Raised Bug with ID: JENKINS-23216.

          Ramakrishna Bejawar added a comment - Raised Bug with ID: JENKINS-23216 .

          Any update on this <iframe> issue.

          Ramakrishna Bejawar added a comment - Any update on this <iframe> issue.

          Hi Peter Hayes

          Any solution for this issue.

          Ramakrishna Bejawar added a comment - Hi Peter Hayes Any solution for this issue.

          Hi Ramakrishna/Oleg,

          I think you mentioned wrong Ver.It should be 1.566.Please correct me if I am wrong.
          I am also getting the same issue with Ver 1.566.Iframe is not being visible in Description.

          Regards
          RoopVijay

          Roop Vijay Singh added a comment - Hi Ramakrishna/Oleg, I think you mentioned wrong Ver.It should be 1.566.Please correct me if I am wrong. I am also getting the same issue with Ver 1.566.Iframe is not being visible in Description. Regards RoopVijay

          Ramakrishna Bejawar added a comment - - edited

          Hi Roop Vijay

          I have upgraded to Jenkins 1.559, May be this issue exists in 1.559 + versions. Its not about Jenkins version particularly, Its the plug-in, So need to identify the plug-in name and version and look for resolution.

          Kind Regards..
          Ramakrishna Bejawar

          Ramakrishna Bejawar added a comment - - edited Hi Roop Vijay I have upgraded to Jenkins 1.559, May be this issue exists in 1.559 + versions. Its not about Jenkins version particularly, Its the plug-in, So need to identify the plug-in name and version and look for resolution. Kind Regards.. Ramakrishna Bejawar

          Hi Ramakrishna,

          I resolved it on my end. you can Install Anything Goes Formatter Plugin. 'Raw HTML', despite it's name, only allows a safe subset of HTML. Iframes are not considered safe.

          Regards
          RoopVijay

          Roop Vijay Singh added a comment - Hi Ramakrishna, I resolved it on my end. you can Install Anything Goes Formatter Plugin. 'Raw HTML', despite it's name, only allows a safe subset of HTML. Iframes are not considered safe. Regards RoopVijay

          Hi Roop Vijay

          I installed Anything goes formatter plug-in, but It did not help me in resolving the <iframe> issue. Still it does'nt resolve and the iframe is not displayed in my HTML pages/Job descriptions. Any more suggestions please ?

          Ramakrishna Bejawar added a comment - Hi Roop Vijay I installed Anything goes formatter plug-in, but It did not help me in resolving the <iframe> issue. Still it does'nt resolve and the iframe is not displayed in my HTML pages/Job descriptions. Any more suggestions please ?

          The iframe portlet works as designed. Be aware that most sites set X-Frame-Options headers nowadays and therefore can't be shown in an iframe. Even Jenkins itself sets it to sameorigin, so you can only embed from the same Jenkins server.

          See MDN for details.

          If you still have problems with the iframes portlet, feel free to reopen this issue.

          Tobias Gruetzmacher added a comment - The iframe portlet works as designed. Be aware that most sites set X-Frame-Options headers nowadays and therefore can't be shown in an iframe. Even Jenkins itself sets it to sameorigin , so you can only embed from the same Jenkins server. See MDN for details. If you still have problems with the iframes portlet, feel free to reopen this issue.

            tgr Tobias Gruetzmacher
            rkbejawar Ramakrishna Bejawar
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: