U4-7609 - Can't install packages IE in Umbraco Backend

Created by Robert Foster 26 Dec 2015, 07:56:47 Updated by Sebastiaan Janssen 05 Jan 2016, 10:12:16

Attempting to install packages in Umbraco BackOffice on IE (up to and including latest version) fails with the following popup message when you click on the "Install Package" button from the Details page: "invalid hostname".

This is caused by a bug in IE not setting the hostname or protocol attributes on a created "a" element in the /Umbraco/developer/packages/proxy.html file. The fix is to add a seeming redundant line to the code changing this:

var parser = document.createElement('a'); parser.href = window.location.search.substring(1);

to this:

var parser = document.createElement('a'); parser.href = window.location.search.substring(1); parser.href = parser.href;

This is mentioned on a comment on the originally referenced gist here: https://gist.github.com/jlong/2428561#gistcomment-1461205

Pull request will be created for this issue.

Comments

Robert Foster 26 Dec 2015, 08:02:28

Submitted PR #979


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.3.1, 7.3.2, 7.3.3, 7.3.4

Due in version: 7.4.0, 7.3.5

Sprint:

Story Points:

Cycle: