Skip to content

Commit 1fa2f42

Browse files
authored
ref: Send raw query string to be processed by Relay (#1701)
1 parent 17e86a2 commit 1fa2f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node/src/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function extractRequestData(req: { [key: string]: any }): { [key: string]: strin
8282
// query string:
8383
// node: req.url (raw)
8484
// express, koa: req.query
85-
const query = req.query || url.parse(originalUrl || '', true).query;
85+
const query = url.parse(originalUrl || '', false).query;
8686
// cookies:
8787
// node, express, koa: req.headers.cookie
8888
const cookies = cookie.parse(headers.cookie || '');

0 commit comments

Comments
 (0)