lib/scanner/plugins/http/file_presence.rb in yawast-0.4.0.beta4 vs lib/scanner/plugins/http/file_presence.rb in yawast-0.4.0.beta5

- old
+ new

@@ -10,10 +10,10 @@ # should probably be relative to what's passed in, instead of overriding the path. check = uri.copy check.path = "#{path}" code = Yawast::Shared::Http.get_status_code(check) - if code == "200" + if code == '200' msg = "'#{path}' found: #{check}" if vuln Yawast::Utilities.puts_vuln msg else