Skip to content

Commit

Permalink
Consistently call it "utf8 sentinel"
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Oct 26, 2020
1 parent b9645c4 commit 097fc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/urlencoded.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('bodyParser.urlencoded()', function () {
.expect(200, '{"¢":"½"}', done)
})

it('should parse x-www-form-urlencoded with an unspecified iso-8859-1 encoding when the utf-8 sentinel has a value of %26%2310003%3B', function (done) {
it('should parse x-www-form-urlencoded with an unspecified iso-8859-1 encoding when the utf8 sentinel has a value of %26%2310003%3B', function (done) {
var server = createServer({ charsetSentinel: true, extended: extended })
request(server)
.post('/')
Expand All @@ -72,7 +72,7 @@ describe('bodyParser.urlencoded()', function () {
.expect(200, '{"user":"ø"}', done)
})

it('should parse x-www-form-urlencoded with an unspecified utf-8 encoding when the utf-8 sentinel has a value of %E2%9C%93 and the defaultCharset is iso-8859-1', function (done) {
it('should parse x-www-form-urlencoded with an unspecified utf-8 encoding when the utf8 sentinel has a value of %E2%9C%93 and the defaultCharset is iso-8859-1', function (done) {
var server = createServer({ charsetSentinel: true, extended: extended })
request(server)
.post('/')
Expand Down

0 comments on commit 097fc97

Please sign in to comment.