Skip to content
This repository
  • 7 commits
  • 18 files changed
  • 0 comments
  • 2 contributors
2  RAILS_VERSION
... ...
@@ -1 +1 @@
1  
-3.1.6
  1
+3.1.7
4  actionmailer/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   No changes.
2  actionmailer/lib/action_mailer/version.rb
@@ -2,7 +2,7 @@ module ActionMailer
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
4  actionpack/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+* Do not convert digest auth strings to symbols. CVE-2012-3424
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   nil is removed from array parameter values
4  actionpack/lib/action_controller/metal/http_authentication.rb
@@ -227,9 +227,9 @@ def decode_credentials_header(request)
227 227
       end
228 228
 
229 229
       def decode_credentials(header)
230  
-        Hash[header.to_s.gsub(/^Digest\s+/,'').split(',').map do |pair|
  230
+        HashWithIndifferentAccess[header.to_s.gsub(/^Digest\s+/,'').split(',').map do |pair|
231 231
           key, value = pair.split('=', 2)
232  
-          [key.strip.to_sym, value.to_s.gsub(/^"|"$/,'').gsub(/'/, '')]
  232
+          [key.strip, value.to_s.gsub(/^"|"$/,'').delete('\'')]
233 233
         end]
234 234
       end
235 235
 
2  actionpack/lib/action_pack/version.rb
@@ -2,7 +2,7 @@ module ActionPack
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
10  actionpack/test/controller/routing_test.rb
@@ -207,6 +207,16 @@ def test_draw_with_block_arity_one_raises
207 207
     end
208 208
   end
209 209
 
  210
+  def test_specific_controller_action_failure
  211
+    @rs.draw do
  212
+      mount lambda {} => "/foo"
  213
+    end
  214
+
  215
+    assert_raises(ActionController::RoutingError) do
  216
+      url_for(@rs, :controller => "omg", :action => "lol")
  217
+    end
  218
+  end
  219
+
210 220
   def test_default_setup
211 221
     @rs.draw { match '/:controller(/:action(/:id))' }
212 222
     assert_equal({:controller => "content", :action => 'index'}, rs.recognize_path("/content"))
4  activemodel/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   No changes.
2  activemodel/lib/active_model/version.rb
@@ -2,7 +2,7 @@ module ActiveModel
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
6  activerecord/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   protect against the nesting of hashes changing the
@@ -633,8 +637,6 @@
633 637
 
634 638
 ## Rails 3.0.0 (August 29, 2010) ##
635 639
 
636  
-*   Changed update_attribute to not run callbacks and update the record directly in the database *Neeraj Singh*
637  
-
638 640
 *   Add scoping and unscoped as the syntax to replace the old with_scope and with_exclusive_scope *José Valim*
639 641
 
640 642
 *   New rake task, db:migrate:status, displays status of migrations #4947 *Kevin Skoglund*
2  activerecord/lib/active_record/version.rb
@@ -2,7 +2,7 @@ module ActiveRecord
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
4  activeresource/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   No changes.
2  activeresource/lib/active_resource/version.rb
@@ -2,7 +2,7 @@ module ActiveResource
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
4  activesupport/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   No changes.
2  activesupport/lib/active_support/version.rb
@@ -2,7 +2,7 @@ module ActiveSupport
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
4  railties/CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## Rails 3.1.7 (Jul 26, 2012)
  2
+
  3
+*   No changes.
  4
+
1 5
 ## Rails 3.1.6 (Jun 12, 2012)
2 6
 
3 7
 *   No changes.
2  railties/lib/rails/version.rb
@@ -2,7 +2,7 @@ module Rails
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
2  version.rb
@@ -2,7 +2,7 @@ module Rails
2 2
   module VERSION #:nodoc:
3 3
     MAJOR = 3
4 4
     MINOR = 1
5  
-    TINY  = 6
  5
+    TINY  = 7
6 6
     PRE   = nil
7 7
 
8 8
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')

No commit comments for this range

Something went wrong with that request. Please try again.