Skip to content

Commit

Permalink
Use rfc-editor.org URLs instead of datatracker.ietf.org for IETF RFCs (
Browse files Browse the repository at this point in the history
…#676)

Both are as authoritative as it gets, and from RFC8650 onwards, rfc-editor.org provide much nicer HTML rendering, as described in https://www.rfc-editor.org/format-live/

See also w3c/browser-specs#342
  • Loading branch information
dontcallmedom authored Jul 12, 2021
1 parent accefc3 commit bb72065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ietf.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function href(index) {
if (HTTP_SPECS.indexOf(index) > -1) {
return "https://httpwg.org/specs/" + index + ".html";
}
return "https://datatracker.ietf.org/doc/html/" + unpad(index);
return "https://www.rfc-editor.org/rfc/" + unpad(index);
}

function unpad(index) {
Expand Down

0 comments on commit bb72065

Please sign in to comment.