You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "yoav zibin (JIRA)" <ji...@apache.org> on 2009/12/02 17:52:20 UTC
[jira] Created: (SHINDIG-1242) Proxy doesn't pass "?" when saving
an object
Proxy doesn't pass "?" when saving an object
--------------------------------------------
Key: SHINDIG-1242
URL: https://issues.apache.org/jira/browse/SHINDIG-1242
Project: Shindig
Issue Type: Bug
Components: PHP
Affects Versions: 1.0
Environment: windows xp
Reporter: yoav zibin
Priority: Critical
Some gadgets request:
gadgets.io.getProxyUrl
and use a URL with a "?" , e.g.,
http://hfstatic.mentez.com/static/v7/orkut_pt.swf?1.2.1
The proxy doesn't pass the part after the "?" when saving the file.
E.g., try opening this:
http://shindig/gadgets/proxy?refresh=36&url=http%3A%2F%2Fhfstatic.mentez.com%2Fstatic%2Fv7%2Forkut_pt.swf%3F1.2.1
Another non-related issue is that some XMLs contain spaces that should be trimmed:
$doc->loadXML(trim($messageBundleData), ...
$doc->loadXML(trim($xmlContent),...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1242) Proxy doesn't pass "?" when saving
an object
Posted by "yoav zibin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785236#action_12785236 ]
yoav zibin commented on SHINDIG-1242:
-------------------------------------
I just wanted to stress that it does indeed work on Orkut (it is a real application that I tried to install on partuza, to see how it handles real applications).
I managed to solve it by "disabling" getProxyUrl:
getProxyUrl : function (url, opt_params) {
return url; // YOAV
and after that it worked :)
getProxyUrl is mainly used for caching, correct?
This change shouldn't cause security (cross domain) errors, correct?
> Proxy doesn't pass "?" when saving an object
> --------------------------------------------
>
> Key: SHINDIG-1242
> URL: https://issues.apache.org/jira/browse/SHINDIG-1242
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.0
> Environment: windows xp
> Reporter: yoav zibin
> Priority: Critical
>
> Some gadgets request:
> gadgets.io.getProxyUrl
> and use a URL with a "?" , e.g.,
> http://hfstatic.mentez.com/static/v7/orkut_pt.swf?1.2.1
> The proxy doesn't pass the part after the "?" when saving the file.
> E.g., try opening this:
> http://shindig/gadgets/proxy?refresh=36&url=http%3A%2F%2Fhfstatic.mentez.com%2Fstatic%2Fv7%2Forkut_pt.swf%3F1.2.1
> Another non-related issue is that some XMLs contain spaces that should be trimmed:
> $doc->loadXML(trim($messageBundleData), ...
> $doc->loadXML(trim($xmlContent),...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.