Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [354da43ab0a10b3b7b3f9cb0619aa562c3be8474] by Aaron Patterson

Revision 354da43ab0a10b3b7b3f9cb0619aa562c3be8474, committed by Aaron Patterson · January 31st, 2011 @ 08:08 PM

limit() should sanitize limit values

This fixes CVE-2011-0448
https://github.com/rails/rails/commit/354da43ab0a10b3b7b3f9cb0619aa...

4 changed files

  • M activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
  • M activerecord/lib/active_record/relation/query_methods.rb
  • M activerecord/test/cases/adapter_test.rb
  • M activerecord/test/cases/base_test.rb