[widgets] WARP usability issue

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 UTC