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>

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:


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.


Marcos Caceres
Received on Thursday, 12 May 2011 10:35:26 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:31 UTC