You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Olivier Grisel (JIRA)" <ji...@apache.org> on 2011/02/16 12:11:57 UTC
[jira] Updated: (STANBOL-49) Support JSONP (JSON with Padding) for
Javascript clients with anti-XSS sandboxing
[ https://issues.apache.org/jira/browse/STANBOL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Grisel updated STANBOL-49:
----------------------------------
Summary: Support JSONP (JSON with Padding) for Javascript clients with anti-XSS sandboxing (was: Support JSONP (JSON with Padding))
> Support JSONP (JSON with Padding) for Javascript clients with anti-XSS sandboxing
> ---------------------------------------------------------------------------------
>
> Key: STANBOL-49
> URL: https://issues.apache.org/jira/browse/STANBOL-49
> Project: Stanbol
> Issue Type: Improvement
> Components: Enhancer
> Reporter: Fabian Christ
> Priority: Minor
>
> Reported by andreas....@gmail.com, Jul 21, 2010
> This makes it possible to access a remote FISE engine (such as fise.demo.fise.com) by using JavaScript on a web page / on the client. Otherwise a proxy is necessary on the server due to the "same origin policy"
> See https://secure.wikimedia.org/wikipedia/en/wiki/JSON#JSONP
> JSONP is a "standardized workaround" for cross-site scripting. It's simply not possible to send a cross-site POST request from the browser.
> So JSONP is a GET request with an extra callback parameter. For a FISE request that means that all the content has to be packed into the url. This might become a problem when the content becomes too long! (http://www.boutell.com/newfaq/misc/urllength.html)
> Right now the stateless enhancement endpoint of the FISE engine (/engine) only supports POST requests.
> So in order to support JSONP
> - FISE has to support GET requests,
> - an OSGi interceptor/plugin could take care of extending all JSON (application/json, application/rdf+json, ...) GET requests with the capability of handling JSONP.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira