File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('Information Leak', function () {
88 it ( 'should not forward cookie headers when the request has a redirect' , function ( done ) {
99
1010 request ( {
11- url : 'https://httpbingo.org/cookies ?url=https ://google.com/ ' ,
11+ url : 'https://httpbingo.org/redirect-to ?url=http ://httpbingo.org/cookies ' ,
1212 headers : {
1313 'Content-Type' : 'application/json' ,
1414 'cookie' : 'ajs_anonymous_id=1234567890' ,
@@ -23,7 +23,7 @@ describe('Information Leak', function () {
2323 it ( 'should not forward authorization headers when the request has a redirect' , function ( done ) {
2424
2525 request ( {
26- url : 'https://httpbingo.org/bearer ?url=https ://google.com/ ' ,
26+ url : 'https://httpbingo.org/redirect-to ?url=http ://httpbingo.org/bearer ' ,
2727 headers : {
2828 'Content-Type' : 'application/json' ,
2929 'cookie' : 'ajs_anonymous_id=1234567890' ,
@@ -34,4 +34,5 @@ describe('Information Leak', function () {
3434 done ( ) ;
3535 } ) ;
3636 } ) ;
37- } ) ;
37+
38+ } ) ;
You can’t perform that action at this time.
0 commit comments