blob: c436ee3c038d41a456178cadc0781c16b6112f49 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
require 'uri'
describe "URI::Generic#to_s" do
# https://hackerone.com/reports/156615
it "preserves / characters when host is empty" do
URI('http:///foo.com').to_s.should == 'http:///foo.com'
end
end
|