Last active
February 25, 2016 22:48
-
-
Save owenhoskins/6cae88d40b7ffbd92a72 to your computer and use it in GitHub Desktop.
Node 0.10.42 security patch is producing errors form the Stripe Node.js api 4.0
This file contains hidden or 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
http.js:733 | |
throw new TypeError('The header content contains invalid characters'); | |
^ | |
TypeError: The header content contains invalid characters | |
at ClientRequest.OutgoingMessage.setHeader (http.js:733:13) | |
at new ClientRequest (http.js:1429:14) | |
at Object.exports.request (https.js:123:10) | |
at makeRequest (/srv/data/web/vhosts/default/node_modules/stripe/lib/StripeResource.js:225:9) | |
at /srv/data/web/vhosts/default/node_modules/stripe/lib/StripeResource.js:212:7 | |
at /srv/data/web/vhosts/default/node_modules/stripe/lib/stripe.js:146:7 | |
at ChildProcess.exithandler (child_process.js:656:7) | |
at ChildProcess.emit (events.js:98:17) | |
at maybeClose (child_process.js:766:16) | |
at Socket.<anonymous> (child_process.js:979:11) | |
at Socket.emit (events.js:95:17) | |
at Pipe.close (net.js:466:12) | |
//////////////////////////////// | |
// headers | |
//////////////////////////////// | |
< headers: { Authorization: 'Basic c2tfdGVzdF9oM045TE5MV1EwcUJ5TGpVUXplOGZhSks6', | |
< Accept: 'application/json', | |
< 'Content-Type': 'application/x-www-form-urlencoded', | |
< 'Content-Length': 0, | |
< 'User-Agent': 'Stripe/v1 NodeBindings/4.0.0', | |
< 'X-Stripe-Client-User-Agent': '{"bindings_version":"4.0.0","lang":"node","lang_version":"v0.10.42","platform":"linux","publisher":"stripe","uname":"Linux Pin—Up-Shoppe 3.14.53-grsec-paas-71923af #1 SMP PREEMPT Tue Dec 1 19:25:48 CET 2015 x86_64 GNU/Linux\\n"}' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment