W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[widgets] WARP and redirects

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Thu, 2 Jun 2011 09:53:55 +0200
Message-ID: <BANLkTin4r3=3itwCF0BJbpPPGito4j-Ybg@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
Cc: Robin Berjon <robin.berjon@gmail.com>, Hari Kumar G <harig@opera.com>
Consider this scenario: the widget requests access to www.google.com.
On a local level google redirects to .pl or co.in . With WARP, if we
checked redirects the local google page would be blocked. It would be
impossible for any developer to take care of all those country wide
domains in the normal way (and it does not scale). So we would want to
allow this. Also in widgets XHRs resulting in 301s are followed and
the final content is returned (this wasn't how it worked but was fixed
later).

For a future version of WARP to work effectively, the spec should give
the option of allow for redirects (or should do this automatically):

<access origin="http://x.com" redirects="true"/>

-- 
Marcos Caceres
http://datadriven.com.au
Received on Thursday, 2 June 2011 07:54:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT