This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8856 - url parameter in register*Handler
Summary: url parameter in register*Handler
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 16:33 UTC by Julian Reschke
Modified: 2010-10-04 14:28 UTC (History)
4 users (show)

See Also:


Attachments

Description Julian Reschke 2010-02-01 16:33:50 UTC
In "5.8.2 Custom scheme and content handlers":

"url

    The URL of the page that will handle the requests."

Actually, it's a template from which the URI will be built.

(speaking of which, it might be a good idea to use the {} syntax that people may know from URI templates)
Comment 1 Ian 'Hixie' Hickson 2010-02-14 07:09:48 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: see diff given below
Rationale: I've vaguely tried to make the text better, so this seems a bit like splitting hairs.

It's not clear what you mean regarding URI templates. What would the syntax be? %s is a very commonly used syntax for this kind of thing, so I figured people would be familiar with it already.
Comment 2 contributor 2010-02-14 07:10:17 UTC
Checked in as WHATWG revision r4722.
Check-in comment: It's not the actual URL used, it's a string used to get that URL.
http://html5.org/tools/web-apps-tracker?from=4721&to=4722
Comment 3 Julian Reschke 2010-02-14 10:36:13 UTC
(In reply to comment #1)
> ...
> It's not clear what you mean regarding URI templates. What would the syntax be?
> %s is a very commonly used syntax for this kind of thing, so I figured people
> would be familiar with it already.
> ...

http://bitworking.org/projects/URI-Templates/