Hi everyone,

We are having issues rendering gadgets on Locked Domains which have
uppercase letters in gadget spec URL.

As best I can tell, this is related to the following issue:
https://issues.apache.org/jira/browse/SHINDIG-1889

It's marked as resolved in 2.5.0-beta6.  I upgraded to that version and got
the same issue, and am now trying 2.5.0-update1 and am still seeing the
issue.

This is an example of what I'm getting this in the iframe:
"Invalid domain for host (
sd6dppeolp2hrtkj030ibtb644201qke.gadgets-v2d.company.com:7001) and gadget (
http://company.com/gadget/InfoBlog.xml)"

I've pasted some relevant configurations below, but is there some other
setting I might be missing or is this indeed still an issue that needs to
be resolved?

I am going to try to start overriding the HashLockedDomainService to get
around this, but I'd obviously rather not have to do that.

Thanks for any help!
-Matt Merrill


Portion of application properties:
# If enabled here, configuration values can be found in container
configuration files.
shindig.locked-domain.enabled=true

# Enable or disable referrer check.
shindig.locked-domain.refererCheck.enabled=false


Portion of container.js configuration:
"gadgets.iframeBaseUri" : "/gmodules/gadgets/ifr",
"gadgets.uri.iframe.basePath" : "/gmodules/gadgets/ifr",

"gadgets.jsUriTemplate" : "http://
${Cur['gadgets.uri.iframe.unlockedDomain']}/gmodules/gadgets/js/%js%",

"default.domain.locked.client" : "OBSCURED.com:9999",
"default.domain.locked.server" : "OBSCURED.com:9999",
"default.domain.unlocked.client" : "OBSCURED.com:9999",
"default.domain.unlocked.server" : "OBSCURED.com:9999",

"gadgets.uri.iframe.lockedDomainRequired" : true,
"gadgets.uri.iframe.lockedDomainSuffix" :  ".OBSCURED.com:9999",
"gadgets.uri.iframe.unlockedDomain" : "OBSCURED.com:9999",
"gadgets.uri.iframe.basePath" : "/gmodules/gadgets/ifr",

"gadgets.uri.js.host" : "//${Cur['gadgets.uri.iframe.unlockedDomain']}",
"gadgets.uri.js.path" : "/gmodules/gadgets/js",
"gadgets.uri.oauth.callbackTemplate" :
"//%host%/gmodules/gadgets/oauthcallback",
"gadgets.osDataUri" : "http://%host%/gmodules/rpc";,

"gadgets.securityTokenType" : "secure",
"gadgets.securityTokenKey" : "file:///OBSCURED.txt",

"defaultShindigTestHost": "http://OBSCURED.com:9999<http://obscured.com:9999/>
",

"defaultShindigProxyConcatAuthority": "OBSCURED.com:9999",

"gadgets.uri.concat.host" : "${Cur['gadgets.uri.iframe.unlockedDomain']}",
"gadgets.uri.concat.path" : "/gmodules/gadgets/concat",
"gadgets.uri.concat.js.splitToken" : "false",

"gadgets.uri.proxy.host" : "${Cur['gadgets.uri.iframe.unlockedDomain']}",
"gadgets.uri.proxy.path" : "/gmodules/gadgets/proxy",

Reply via email to