GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add U+005E (^) to the path percent-encode set · jsdom/whatwg-url@45174a8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • percent-encoding.js
  • scripts
    • get-latest-platform-tests.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/percent-encoding.js‎

Copy file name to clipboardExpand all lines: lib/percent-encoding.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ function isSpecialQueryPercentEncode(c) {
6565
}
6666

6767
// https://url.spec.whatwg.org/#path-percent-encode-set
68-
const extraPathPercentEncodeSet = new Set([p("?"), p("`"), p("{"), p("}")]);
68+
const extraPathPercentEncodeSet = new Set([p("?"), p("`"), p("{"), p("}"), p("^")]);
6969
function isPathPercentEncode(c) {
7070
return isQueryPercentEncode(c) || extraPathPercentEncodeSet.has(c);
7171
}
7272

7373
// https://url.spec.whatwg.org/#userinfo-percent-encode-set
7474
const extraUserinfoPercentEncodeSet =
75-
new Set([p("/"), p(":"), p(";"), p("="), p("@"), p("["), p("\\"), p("]"), p("^"), p("|")]);
75+
new Set([p("/"), p(":"), p(";"), p("="), p("@"), p("["), p("\\"), p("]"), p("|")]);
7676
function isUserinfoPercentEncode(c) {
7777
return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);
7878
}
Collapse file

‎scripts/get-latest-platform-tests.js‎

Copy file name to clipboardExpand all lines: scripts/get-latest-platform-tests.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const path = require("path");
1313
// 1. Go to https://github.com/web-platform-tests/wpt/tree/master/url
1414
// 2. Press "y" on your keyboard to get a permalink
1515
// 3. Copy the commit hash
16-
const commitHash = "7c9c41aedbcd49bf96fb9e35a133293b3977b83d";
16+
const commitHash = "d86fcc9e8764155485975a2a9bbfc5ec4aa9e75b";
1717

1818
const urlPrefix = `https://raw.githubusercontent.com/web-platform-tests/wpt/${commitHash}/url/`;
1919
const targetDir = path.resolve(__dirname, "..", "test", "web-platform-tests");

0 commit comments

Comments
0 (0)
You are visitor 01402622 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.