Wrong construction of URIs in gadgets.rpc feature
-------------------------------------------------
Key: SHINDIG-1198
URL: https://issues.apache.org/jira/browse/SHINDIG-1198
Project: Shindig
Issue Type: Bug
Components: Javascript
Reporter: Ivan Zuzak
Priority: Minor
Attachments: fix-rpc-getOrigin-colon-bug.patch
In rpc.js, getOrigin method, URIs are in some places constructed using
window.location.protocol + ":" in order to get "http:" as a start of a full
URI. This is wrong since window.location.protocol already ends with ":", so the
resulting URIs start with "http::".
I've attached a patch which removes the extra colons.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.