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.

    Details

    • Similar Issues:

      Description

      <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.

        Attachments

          Issue Links

            Activity

            Hide
            roop_vijay 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

            Show
            roop_vijay 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
            Hide
            rkbejawar 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

            Show
            rkbejawar 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
            Hide
            roop_vijay 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

            Show
            roop_vijay 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
            Hide
            rkbejawar 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 ?

            Show
            rkbejawar 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 ?
            Hide
            tgr 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.

            Show
            tgr 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.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: