Skip to content

Commit 11b0cc2

Browse files
committed
Add missing backslash to special charset
1 parent ae990c7 commit 11b0cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/1.1/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Generator.prototype.genPassword = function() {
261261
}
262262

263263
let charsets = {
264-
special: " !\"#$%&'()*+,-./:;<=>?@[\]^_`{|}~",
264+
special: " !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",
265265
upper: "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
266266
lower: "abcdefghijklmnopqrstuvwxyz",
267267
number: "0123456789"

0 commit comments

Comments
 (0)