Skip to content

Commit

Permalink
Reverse the computed value and the explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 27, 2018
1 parent 4e65517 commit 228bf8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ var interpretNumericEntities = function (str) {
// the form is iso-8859-1, or when the submitted form has an accept-charset
// attribute of iso-8859-1. Presumably also with other charsets that do not contain
// the ✓ character, such as us-ascii.
var isoSentinel = 'utf8=' + encodeURIComponent('✓'); // %26%2310003%3B
var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')

// These are the percent-encoded utf-8 octets representing a checkmark, indicating
// that the request actually is utf-8 encoded.
var utf8Sentinel = 'utf8=' + encodeURIComponent('✓'); // %E2%9C%93
var utf8Sentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')

var parseValues = function parseQueryStringValues(str, options) {
var obj = {};
Expand Down

0 comments on commit 228bf8e

Please sign in to comment.