1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2020-08-28 20:26:02 +02:00
parent 3dd63108b0
commit b49307c701
22 changed files with 556 additions and 344 deletions

View file

@ -36,4 +36,9 @@ describe "CGI.unescapeHTML" do
input = "fooooooo&#"
CGI.unescapeHTML(input).should == input
end
it "unescapes invalid encoding" do
input = "\xFF&"
CGI.unescapeHTML(input).should == input
end
end