[ 
http://jira.nuxeo.org/browse/NXP-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume resolved NXP-4257.
------------------------------------

    Resolution: Fixed

Fixed by using a patched version of the shindig core.io feature.
http://hg.nuxeo.org/nuxeo/nuxeo-features/rev/475b1f30553b

Relevant patch, line 358 of io.js:
      // Nuxeo change: added %protocol%
      proxyUrl = proxyUrl.replace("%protocol%", document.location.protocol);
Then use %protocol% in opensocial-container.js JSON.

Beware %protocol% is "http:" or "https:" with the terminating colon.


> OpenSocial: Shindig proxy should be able to use a https URL
> -----------------------------------------------------------
>
>                 Key: NXP-4257
>                 URL: http://jira.nuxeo.org/browse/NXP-4257
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.3 RC
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.3 GA
>
>
> Shindig's core.io feature does:
>       var proxyUrl = config.jsonProxyUrl.replace("%host%", 
> document.location.host);
> which means the jsonProxyUrl has to use a fixed protocol (http or https) 
> which is incompatible with proper virtual hosting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to