Opened 11 years ago

Closed 10 years ago

#200 closed protocol enhancement (fixed)

Change “uri” in query string to “href” (like HTML <link>)

Reported by: zach@… Owned by: zach@…
Priority: trivial Milestone:
Component: link-format Version:
Severity: - Keywords:
Cc:

Description

Julian Reschke pointed out that the use of "uri" in the query parameter definition of /.well-known/core is awkward, and instead we should use a known parameter name like "href" for that purpose.

This ticket is to change the following text in Section 4.1:

" filter-query = resource-param "=" query-pattern

resource-param = "uri" / parmname
query-pattern = search-token [ "*" ]
search-token = *search-char
search-char = unreserved / pct-encoded

/ ":" / "@" ; from pchar
/ "/" / "?" ; from query
/ "!" / "$" / "'" / "(" / ")"
/ "+" / "," / ";" / "=" ; from sub-delims

The resource-param "uri" refers to the URI-reference between the "<"
and ">" characters of a link. Other resource-param values refer to
the link attribute they name. Filtering is performed by comparing
the query-pattern against the value of the attribute identified by
the resource-param for each link-value in the collection of resources
identified by the URI path."

with:

"

filter-query = resource-param "=" query-pattern
resource-param = "href" / parmname
query-pattern = search-token [ "*" ]
search-token = *search-char
search-char = unreserved / pct-encoded

/ ":" / "@" ; from pchar
/ "/" / "?" ; from query
/ "!" / "$" / "'" / "(" / ")"
/ "+" / "," / ";" / "=" ; from sub-delims

The resource-param "href" refers to the URI-reference between the "<"
and ">" characters of a link. Other resource-param values refer to
the link attribute they name. Filtering is performed by comparing
the query-pattern against the value of the attribute identified by
the resource-param for each link-value in the collection of resources
identified by the URI path."

Change History (1)

comment:1 Changed 10 years ago by zach@…

  • Resolution set to fixed
  • Status changed from new to closed

Done.

Note: See TracTickets for help on using tickets.