Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit bb78be2

Browse files
committed
fix(restify): update param size
1 parent d84c827 commit bb78be2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

db-server/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ function createServer(db) {
5151
formatters: {
5252
'application/json; q=0.9': safeJsonFormatter
5353
},
54-
maxParamLength: 256
54+
// Auth-server accepts 255 unicode email address and sends them over has hex encoded values.
55+
// These values could be as large as 1530 characters.
56+
maxParamLength: 1530
5557
})
5658

5759
api.use(restify.plugins.bodyParser())

0 commit comments

Comments
 (0)