Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.2, 2.5.0-beta1
Description
Section 15.1 of the OpenSocial Templating Spec (version 1.1 at <http://opensocial-resources.googlecode.com/svn/spec/1.1/OpenSocial-Templating.xml#rfc.section.15.1>, version 2.0 draft at <http://opensocial-resources.googlecode.com/svn/spec/2.0/OpenSocial-Templating.xml#rfc.section.15.1> states that, when interpreting the URL in a template library request like this:
<Require feature="opensocial-templates"> <Param name="requireLibrary">templates.xml</Param> </Require>
that "Relative URLs are interpreted in relation to the location of the Gadget Spec XML file." However, Shindig currently generates a /gadgets/makeRequest call and passes in the relative URL value ("templates.xml") and fails with an HTTP status of 400 (Bad Request) because this URL does not start with "http:" or "https:".