[
https://issues.apache.org/jira/browse/SHINDIG-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260314#comment-13260314
]
Arn Waßmann commented on SHINDIG-1413:
--------------------------------------
sorry. the correct code is
this.parentUrl_ = document.location.protocol + '//' + document.location.host;
i use shindig 2.0.2 and it works fine.
> this.parentUrl_ in the gadgets.Container can only be used with http
> -------------------------------------------------------------------
>
> Key: SHINDIG-1413
> URL: https://issues.apache.org/jira/browse/SHINDIG-1413
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Arn Waßmann
> Priority: Trivial
> Fix For: 2.0.0
>
>
> Hello,
> i use Apache Shindig with https (nightly build from june) and an security
> error occurred. I must patched my version:
> old:
> gadgets.Container = function() {
> this.gadgets_ = {};
> this.parentUrl_ = 'http://' + document.location.host;
> new:
> gadgets.Container = function() {
> this.gadgets_ = {};
> this.parentUrl_ = document.location.href + '://' + document.location.host;
> thx
> Arn
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira