Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Mar 07, 2013 @ 11:59
    Andy Butland
    0

    Issue with Chrome (possibly others) when back-office behind SSL

    There's a reference to the Google CDN to pull in the dojo JavaScript library in EmbeddedContent.cs. As you can see from the code below this is coded with http protocol, and when using the back-office under SSL this results in it being blocked in Chrome.

    Could I ask that this reference is changed to remove the protocol please?  i.e. have src="//ajax.google... rather than src="http://ajax.google...

    It would then work on both http and https.

    Thanks

    Andy

    cs.RegisterClientScriptBlock(typeof(EmbeddedContent), "dojo", "<script src=\"http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js\" type=\"text/javascript\" djConfig=\"parseOnLoad: true\"></script>", false);

     

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 07, 2013 @ 12:03
    Jeavon Leopold
    0

    Hi Andy,

    Could you please send us a pull request on BitBicket? https://bitbucket.org/reboot/embedded-content-umbraco/src

    Thanks,

    Jeavon

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Mar 07, 2013 @ 12:18
    Andy Butland
    1

    Hi Jeavon - sure, it's here.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 11, 2013 @ 13:00
    Jeavon Leopold
    1

    Thanks Andy, your fix is now included in v1.2.3

    Cheers,

    Jeavon

Please Sign in or register to post replies

Write your reply to:

Draft