W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

[Bug 10327] New: supported URL schemes in open()

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 Aug 2010 12:34:28 +0000
To: public-webapps@w3.org
Message-ID: <bug-10327-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10327

           Summary: supported URL schemes in open()
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XHR 1.0
        AssignedTo: annevk@opera.com
        ReportedBy: annevk@opera.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


I would like to have clearer language for URLs regarding their supported
<scheme> component.

I.e. I would like it to be clear from the draft what happens if you use any of
the following:

  "mailto:foo@example.org"
  "about:blank"
  "tag:example.org"
  "tel:+316..."
  "data:text/html,..."

My preferred solution would be to throw unless the URL scheme is one of a
whitelist which contains:

  http
  https
  ftp
  file (implementation specific, must throw a SYNTAX_ERR if the current scheme
is not file)

We can add to this whitelist in the future, such as the blob URL scheme.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 9 August 2010 12:34:32 GMT

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