Skip to content

Commit

Permalink
=
Browse files Browse the repository at this point in the history
  • Loading branch information
panpap committed Dec 10, 2016
1 parent a9cf042 commit 452c535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions columnsFormat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def Format.columnsFormat(line,dataset,option,filter)
if not( ["get","delete","put","post","head","options"].any? { |word| h['verb'].downcase.eql?(word)}) # remove HTTPS
return nil
end
h['host']=part[13]
if h['host'].include? ".." or h['host']=="" or h['host']=="." or h['host'].size<3 or part[5]=="/"
h['host']=part[13].gsub(":80","")
if h['host'].include? ".." or h['host']=="" or h['host']=="." or h['host'].size<3 or h['host'].include? "??????" or part[5]=="/"
return nil
end
h['httpRef']=part[6]
Expand Down

0 comments on commit 452c535

Please sign in to comment.