Permalink
Browse files

fixed base16 (was duplicate of base36)

  • Loading branch information...
coolaj86 committed May 19, 2011
1 parent 360734e commit 53ceb20185097b308b154989fe5f0e5b04ea8bb8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/form-data.js
View
@@ -167,7 +167,7 @@ var provide = provide || function () {};
lalpha = "abcdefghijklmnopqrstuvwxyz",
special = "+/-_:",
radix = {
- base16: numbers + ualpha,
+ base16: numbers + ualpha.substr(0, 6),
base36: numbers + ualpha,
base64: ualpha + lalpha + numbers + special.substr(0,2),
base64url: ualpha + lalpha + numbers + special.substr(2,2),

0 comments on commit 53ceb20

Please sign in to comment.