Bug #8252

cgiのHTML tag makerに未定義の属性を渡した場合の挙動

Added by Yui NARUSE almost 2 years ago. Updated almost 2 years ago.

[ruby-dev:47246]
Status:Closed
Priority:Normal
Assignee:Takeyuki FUJIOKA
ruby -v:ruby 2.1.0dev (2013-04-11 trunk 40238) [x86_64-freebsd9.1] Backport:

Description

r40237 で以下の通り、定義されていない属性を渡したときの挙動が変化しているのですが意図していますか

  • ) +CGI::HtmlExtension#html when passed a Hash returns an 'html'-element using the passed Hash for attributes FAILED +Expected "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">" +to equal "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">"

+/extdisk/chkbuild/chkbuild/tmp/build//rubyspec/library/cgi/htmlextension/html_spec.rb::in block (3 levels) in <top (required)>'
+/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/rubyspec/library/cgi/htmlextension/html_spec.rb:<line_a>:in
'

http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130411T081100Z.diff.html.gz

Associated revisions

Revision 40242
Added by Takeyuki FUJIOKA almost 2 years ago

  • lib/cgi/html.rb: fix tagmaker because attributes should recognize. [Bug #8252]

Revision 40242
Added by Takeyuki FUJIOKA almost 2 years ago

  • lib/cgi/html.rb: fix tagmaker because attributes should recognize. [Bug #8252]

History

#1 Updated by Takeyuki FUJIOKA almost 2 years ago

いえ、考慮不足です。
修正します。

#2 Updated by Takeyuki FUJIOKA almost 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40242.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/cgi/html.rb: fix tagmaker because attributes should recognize. [Bug #8252]

Also available in: Atom PDF