[
https://issues.apache.org/jira/browse/SHINDIG-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258478#comment-13258478
]
Pavel Feldman commented on SHINDIG-1413:
----------------------------------------
Why is it document.location.href + '://' + document.location.host; ? The result
is something like "https://www.google.ca/://www.google.ca" which is not valid
url. Should not just document.location.href be enough?
> 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