We're using that the feature to only load certain JS files after accepting, one of those is a protocol relative URL like this:

//some.domain.com/path/to/js.js

This works just fine in all browser but apparently not in IE11 (Did not test Edge), that then tries to load "my.domain.com///some.domain.com/path/to/js.js".

Comments

Berdir created an issue. See original summary.

berdir’s picture

Title: Loading of JS fails after accepting doesn't work on IE with protocol-relative domains » Loading of JS fails after accepting on IE with protocol-relative domains
svenryen’s picture

Thanks for reporting this. Seems the check against domain URLs was a bit flaky. Here are patches for D7 and D8.

  • svenryen committed 324ea3e on 7.x-1.x
    Issue #2975382 by svenryen: Loading of JS fails after accepting on IE...

  • svenryen committed fefed7f on 8.x-1.x
    Issue #2975382 by svenryen: Loading of JS fails after accepting on IE...
svenryen’s picture

Status: Active » Fixed

  • svenryen committed 324ea3e on 7.x-2.x
    Issue #2975382 by svenryen: Loading of JS fails after accepting on IE...
  • svenryen committed 884a355 on 7.x-2.x
    Merge branch '7.x-1.x' into 7.x-2.x
    
    * 7.x-1.x:
    Issue #2975382 by...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.