Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52113

iFrame portlet always appends a question mark (?) at the end of the URL

    Details

      Description

      Description

      The iFrame portlet adds a question mark to the end of the URL it is configured to link to. Customer reports that this is causing issues with some sites.

      Steps to reproduce

      1. Add iFrame portlet to a page.
      2. Configure iFrame using a URL (e.g. https://www.test.com)
      3. Inspect Element.
      4. Navigate to iFrame element:

      <iframe alt="" border="0" bordercolor="#000000" frameborder="0" height="600" hspace="0" id="_48_INSTANCE_0U7Ibxjc3EfW_iframe" longdesc="" name="_48_INSTANCE_0U7Ibxjc3EfW_iframe" onload="_48_INSTANCE_0U7Ibxjc3EfW_monitorIframe();" scrolling="auto" src="https://www.test.com?" title="" vspace="0" width="100%" class="" style="height: 600px;"> Your browser does not support inline frames or is currently configured not to display inline frames. Content can be viewed at actual source page: https://www.test.com?. </iframe>

      5. Note that Liferay has added a question mark after the URL: src="https://www.test.com?"

        Attachments

        1. fixed.png
          fixed.png
          27 kB
        2. reproduced.png
          reproduced.png
          26 kB

          Issue Links

            Activity

              People

              • Assignee:
                yvonne.han Yvonne Han
                Reporter:
                preston.crary Preston Crary
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 27 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M3