File tree 2 files changed +8
-2
lines changed 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ machine:
14
14
# don't conflict with our embedded ruby installation.
15
15
- rvm reset
16
16
node :
17
- version : 0.10.40
17
+ version : 0.10.45
18
18
dependencies :
19
19
cache_directories :
20
20
- build/work
Original file line number Diff line number Diff line change @@ -839,7 +839,13 @@ describe('logging', function() {
839
839
var expectedRawBinary = new Buffer ( '77+9' , 'base64' ) . toString ( ) ;
840
840
841
841
var args = 'url_encoded=' + urlEncoded + '&base64ed=' + base64ed + '&raw=' + raw ;
842
- request ( {
842
+
843
+ // Use curl and not request for this test, since node's HTTP parser
844
+ // prevents invalid utf8 characters from being used in headers as of NodeJS
845
+ // v0.10.42. But we still want to test this, since other clients can still
846
+ // pass invalid utf8 characters.
847
+ var curl = new Curler ( ) ;
848
+ curl . request ( {
843
849
method : 'GET' ,
844
850
url : 'http://localhost:9080/info/' + urlEncoded + '/' + base64ed + '/' + raw + '/?api_key=' + this . apiKey + '&unique_query_id=' + this . uniqueQueryId + '&' + args ,
845
851
headers : {
You can’t perform that action at this time.
0 commit comments