This repository was archived by the owner on Feb 25, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
GIT
2
2
remote: https://github.com/lalithr95/API-fuzzer.git
3
- revision: 539deabfd9b8fd88de6004e8f91c94f0054992d4
3
+ revision: 26b60e42caa460d9c6f456f152de0f03bab4111f
4
4
specs:
5
5
API_Fuzzer (0.1.0 )
6
6
activesupport
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def headers_parser(headers)
34
34
if key . downcase == 'cookie'
35
35
parsed_cookies = cookies_parser ( value )
36
36
else
37
- parsed_headers [ key ] = value
37
+ parsed_headers [ key ] = value . gsub ( '\r' , '' ) if value
38
38
end
39
39
end
40
40
[ parsed_headers , parsed_cookies ]
Original file line number Diff line number Diff line change 15
15
</ thead >
16
16
< tbody >
17
17
<% @vulnerabilities . each_with_index do |vulnerability , index | %>
18
- < tr class ="<%= tr_class ( vulnerability . status ) if vulnerability . class_type == 'Vulnerability' %> ">
19
- < td > <%= index + 1 %> </ td >
20
- < td >
21
- < b > < span class ="tag <%= badge ( vulnerability . status ) %> ">
22
- <%= vulnerability . status %>
23
- </ span > </ b >
24
- </ td >
25
- < td > <%= vulnerability . description %> </ td >
26
- < td > <%= vulnerability . parameter %> </ td >
27
- < td > <%= vulnerability . value %> </ td >
28
- </ tr >
18
+ <% if vulnerability . class_type == 'Vulnerability' %>
19
+ < tr class ="<%= tr_class ( vulnerability . status ) %> ">
20
+ < td > <%= index + 1 %> </ td >
21
+ < td >
22
+ < b > < span class ="tag <%= badge ( vulnerability . status ) %> ">
23
+ <%= vulnerability . status %>
24
+ </ span > </ b >
25
+ </ td >
26
+ < td > <%= vulnerability . description %> </ td >
27
+ < td > <%= vulnerability . parameter %> </ td >
28
+ < td > <%= vulnerability . value %> </ td >
29
+ </ tr >
30
+ <% end %>
29
31
<% end %>
30
32
</ tbody >
31
33
</ table >
You can’t perform that action at this time.
0 commit comments