summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--std/mime/multipart.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/mime/multipart.ts b/std/mime/multipart.ts
index 42be47895..0d60fd00b 100644
--- a/std/mime/multipart.ts
+++ b/std/mime/multipart.ts
@@ -35,7 +35,7 @@ export function isFormFile(x: any): x is FormFile {
function randomBoundary(): string {
let boundary = "--------------------------";
for (let i = 0; i < 24; i++) {
- boundary += Math.floor(Math.random() * 10).toString(16);
+ boundary += Math.floor(Math.random() * 16).toString(16);
}
return boundary;
}