forked from ether/etherpad-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: allow URL parameters and POST bodies to co-exist
Node 8.14.0 prohibits HTTP headers that exceed 8kB. This patch allows for the parameters within the body of an HTTP POST request to be used in addition to those within the URL (and will override them). Alternatively for POST we could ignore URL parameters completely, but the relevant backend tests would need to be rewritten so as not to use `endPoint('funcName')` which generates a URL that pre-includes the API key as a request parameter.
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters