Cached Flash proxy does not repsect syncidator settings.
--------------------------------------------------------
Key: SHINDIG-94
URL: https://issues.apache.org/jira/browse/SHINDIG-94
Project: Shindig
Issue Type: Bug
Reporter: Paul Lindner
Assignee: Paul Lindner
The flash feature uses a fixed URL pattern to implement gadgets.flash. Instead
we should use gadgets.io.getProxyUrl(url)
Patch:
arcwelder:shindig plindner$ svn diff features/flash/flash.js
Index: features/flash/flash.js
===================================================================
--- features/flash/flash.js (revision 630759)
+++ features/flash/flash.js (working copy)
@@ -176,9 +176,7 @@
*/
gadgets.flash.embedCachedFlash = function() {
var args = Array.prototype.slice.call(arguments);
- // TODO: This needs to use gadgets.io.getProxyUrl()
- args[0] = 'http://' + document.location.host + '/gadgets/proxy?url=' +
- args[0];
+ args[0] = gadgets.io.getProxyUrl(args[0]);
gadgets.flash.embedFlash.apply(this, args);
};
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.