Skip to content

Commit

Permalink
Redirect another HTML WebSockets URL found in the wild
Browse files Browse the repository at this point in the history
Not sure where this is from, but might as well handle it.

Closes whatwg/html#9871.
  • Loading branch information
annevk authored and foolip committed Dec 20, 2023
1 parent 936e75a commit ce8a566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/marquee/nginx/sites/html.spec.whatwg.org.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ server {
location = /multipage/web-sockets.html {
return 301 https://websockets.spec.whatwg.org/;
}
location = /multipage/websockets {
return 301 https://websockets.spec.whatwg.org/;
}
location = /multipage/window-object.html {
return 301 /multipage/nav-history-apis.html;
}
Expand Down
1 change: 1 addition & 0 deletions test/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const HTTPS_TESTS = [
['https://html.spec.whatwg.org/multipage/scripting-1.html', 301, 'https://html.spec.whatwg.org/multipage/scripting.html'],
['https://html.spec.whatwg.org/multipage/section-sql.html', 410],
['https://html.spec.whatwg.org/multipage/tabular-data.html', 301, 'https://html.spec.whatwg.org/multipage/tables.html'],
['https://html.spec.whatwg.org/multipage/websockets/', 301, 'https://websockets.spec.whatwg.org/'],
['https://javascript.spec.whatwg.org/', 302, 'https://github.com/tc39/ecma262/labels/web%20reality', 'drop'],
['https://lists.whatwg.org/htdig.cgi', 301, 'https://lists.whatwg.org/pipermail/', 'keep'],
['https://lists.whatwg.org/listinfo.cgi', 301, 'https://lists.whatwg.org/'],
Expand Down

0 comments on commit ce8a566

Please sign in to comment.