File tree 1 file changed +4
-3
lines changed
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 () {
8
8
it ( 'should not forward cookie headers when the request has a redirect' , function ( done ) {
9
9
10
10
request ( {
11
- url : 'https://httpbingo.org/cookies ?url=https ://google.com/ ' ,
11
+ url : 'https://httpbingo.org/redirect-to ?url=http ://httpbingo.org/cookies ' ,
12
12
headers : {
13
13
'Content-Type' : 'application/json' ,
14
14
'cookie' : 'ajs_anonymous_id=1234567890' ,
@@ -23,7 +23,7 @@ describe('Information Leak', function () {
23
23
it ( 'should not forward authorization headers when the request has a redirect' , function ( done ) {
24
24
25
25
request ( {
26
- url : 'https://httpbingo.org/bearer ?url=https ://google.com/ ' ,
26
+ url : 'https://httpbingo.org/redirect-to ?url=http ://httpbingo.org/bearer ' ,
27
27
headers : {
28
28
'Content-Type' : 'application/json' ,
29
29
'cookie' : 'ajs_anonymous_id=1234567890' ,
@@ -34,4 +34,5 @@ describe('Information Leak', function () {
34
34
done ( ) ;
35
35
} ) ;
36
36
} ) ;
37
- } ) ;
37
+
38
+ } ) ;
You can’t perform that action at this time.
0 commit comments