lib/rex/proto/http/request.rb.ut.rb in librex-0.0.65 vs lib/rex/proto/http/request.rb.ut.rb in librex-0.0.66
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# -*- coding: binary -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
require 'test/unit'
require 'rex/proto/http'
@@ -209,6 +210,6 @@
def test_normalize
h = junk_request
h.uri = '/foo/..////./././asdf/././//../bar.html'
assert_equal('/bar.html', h.uri, 'normalize on set')
end
-end
\ No newline at end of file
+end