Saving an empty source URL for an Iframe causes redirect error in Internet explorer

Description

If an Iframe is added on page and source url is left blank, at refresh, the page will redirect to "http:///?" on Internet Explorer, leading to a "the address is not valid" page.

The javascript that validates that field on save, should be updated to NOT add "http://" to the url text if the text box is blank. Currently, a blank source url will automatically add "http://" on save and refresh which causes Internet Explorer to redirect unexpectedly.

Steps to reproduce on Internet Explorer
1) Add Iframe portlet
2) Edit Configuration
3) Leave source url blank
4) Save
5) Refresh browser

Activity

Show:

Pani GuiFebruary 8, 2012 at 9:06 PM

PASSED Manual Testing following steps in description.

Reproduced on:
Tomcat 6.0 + MySQL 5. 6.0.12 EE.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: c2013f792c6ddde0ddd69a734facde4a39268af1.

The page redirects to http:///? when saving empty source URL in Iframe portlet.

Fixed on:
Tomcat 6.0 + MySQL 5. 6.0.x GIT ID: 42a2ae4b307363ecfa126dd037a2952238aa9633.
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 71ce8e940ae12bae24e2a5e14cf3f836bb291915.

It doesn't redirect to wrong page.

Michael SaechangFebruary 7, 2012 at 9:31 AM

Committed on:
6.0.x GIT ID: ad0eba34408f7b354a0dfddde19ef418835f65a3.
6.1.x GIT ID: d0aa896ff3541bb807fd8a14e1051cdf26050d50.
6.2.x GIT ID: d0aa896ff3541bb807fd8a14e1051cdf26050d50.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created February 3, 2012 at 8:15 AM
Updated June 24, 2023 at 3:49 PM
Resolved March 12, 2012 at 1:40 PM
Loading...