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

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 UTC