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

[widgets] WARP usability issue

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Thu, 12 May 2011 12:27:33 +0200
Message-ID: <BANLkTik6pnJhgqSNSbXgc+p8ecYs-tm5gw@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>, Robin Berjon <robin.berjon@gmail.com>
Cc: Wojciech Masłowski <wmaslowski@opera.com>, Charles McCathieNevile <chaals@opera.com>
Hi,

The following rule is too restrictive in WARP:

"If origin is not a valid IRI, *if it has components other than scheme
and iauthority*, if it has no host component, or if it has a iuser
info component, then this element is in error and the user agent must
ignore this element."

For the "if it has components other than scheme and iauthority" part,
this means that a developer who writes:

"http://www.w3.org/"

Will have their access request ignored because of the slash. While I
was at Opera working on extensions, we noticed in the Opera Extensions
catalog that people were doing all sorts of "interesting" things with
WARP declarations (e.g., adding "/*" and other things assuming some
kind of pattern matching).

Anyway, an easy solution is to simply ignore any "/" or simply ignore
all but the scheme and iauthority.

WDYT?


-- 
Marcos Caceres
http://datadriven.com.au
Received on Thursday, 12 May 2011 10:35:26 GMT

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