Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Mar 21, 2024
1 parent d5a681b commit 11352da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/response/redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('ctx.redirect(url)', () => {
ctx.redirect('HTTP://google.com\\@apple.coM/okoK');
assert.strictEqual(ctx.response.header.location, 'http://google.com/@apple.coM/okoK');
assert.strictEqual(ctx.status, 302);
})
});

it('should auto fix not encode url', done => {
const app = new Koa();
Expand Down

0 comments on commit 11352da

Please sign in to comment.