06 Feb '13, 2pm

ジェイクエリー、ジェイクエリーやないか

diff --git darkfish.js darkfish.js index 4be722f..f26fd45 100644 --- darkfish.js +++ darkfish.js @@ -109,13 +109,15 @@ function hookSearch() { function highlightTarget( anchor ) { console.debug( "Highlighting target '%s'.", anchor ); - $("a[name=" + anchor + "]").each( function() { - if ( !$(this).parent().parent().hasClass('target-section') ) { - console.debug( "Wrapping the target-section" ); - $('div.method-detail').unwrap( 'div.target-section' ); - $(this).parent().wrap( '<div class="target-section"></div>' ); - } else { - console.debug( "Already wrapped." ); + $("a[name]").each( function() { + if ( $(this).attr("name") == anchor ) { + if ( !$(this).parent().parent().hasClass('target-section') ) { + console.debug( "Wrapping the target-section" ); + $('div.method-detail').unwrap( 'div.target-section' ); + $(this).parent().wrap( '<div class="target-section"></div>' ); + ...

Full article: http://www.ruby-lang.org/ja/news/2013/02/06/rdoc-xss-cve-...

Tweets

[ruby-list:49181] [ANN] Ruby 1.9.3 patchlevel 3...

ruby-lang.org 06 Feb '13, 1pm

diff --git darkfish.js darkfish.js index 4be722f..f26fd45 100644 --- darkfish.js +++ darkfish.js @@ -109,13 +109,15 @@ fun...

XSS exploit of RDoc documentation generated by ...

ruby-lang.org 06 Feb '13, 1pm

RDoc documentation generated by rdoc bundled with ruby are vulnerable to an XSS exploit. All ruby users are recommended to...

Ruby 1.9.3-p385リリース。 RDocで生成したHTMLドキュメントにおけるXSS...

ruby-lang.org 06 Feb '13, 1pm

<URL:ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.bz2> SIZE: 10021486 bytes MD5: 5ec9aff670f4912b0f6f0e11e855e...