We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 289e5eb commit aa20e7eCopy full SHA for aa20e7e
.github/workflows/ci.yml
@@ -0,0 +1,20 @@
1
+name: CI
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - main
6
+
7
+jobs:
8
+ setup-test-lint:
9
+ name: Setup, Test, and Lint
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
+ - name: Use Node.js ${{ matrix.node-version }}
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: 14
18
+ - run: npm install
19
+ - run: npm test
20
+ - run: npm run lint:check
lib/utils.js
@@ -25,6 +25,8 @@ Utils.encodeURISegment = function (str) {
25
str = str.replace(/=/g, '%3D');
26
str = str.replace(/&/g, '%26');
27
str = str.replace(/\+/g, '%2B');
28
+ str = str.replace(/#/g, '%23');
29
+ str = str.replace(/@/g, '%40');
30
return str;
31
};
32
0 commit comments