File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ var interpretNumericEntities = function (str) {
3030// the form is iso-8859-1, or when the submitted form has an accept-charset
3131// attribute of iso-8859-1. Presumably also with other charsets that do not contain
3232// the ✓ character, such as us-ascii.
33- var isoSentinel = 'utf8=' + encodeURIComponent ( '✓' ) ; // %26%2310003%3B
33+ var isoSentinel = 'utf8=%26%2310003%3B' ; // encodeURIComponent('✓')
3434
3535// These are the percent-encoded utf-8 octets representing a checkmark, indicating
3636// that the request actually is utf-8 encoded.
37- var utf8Sentinel = 'utf8=' + encodeURIComponent ( '✓' ) ; // %E2%9C%93
37+ var utf8Sentinel = 'utf8=%E2%9C%93' ; // encodeURIComponent('✓')
3838
3939var parseValues = function parseQueryStringValues ( str , options ) {
4040 var obj = { } ;
You can’t perform that action at this time.
0 commit comments