Skip to content

Commit d4fbffa

Browse files
javoskiposva
authored andcommitted
fix typo (#1295)
1 parent 721755d commit d4fbffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/query.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const encodeReserveRE = /[!'()*]/g
66
const encodeReserveReplacer = c => '%' + c.charCodeAt(0).toString(16)
77
const commaRE = /%2C/g
88

9-
// fixed encodeURIComponent which is more comformant to RFC3986:
9+
// fixed encodeURIComponent which is more conformant to RFC3986:
1010
// - escapes [!'()*]
1111
// - preserve commas
1212
const encode = str => encodeURIComponent(str)

0 commit comments

Comments
 (0)