This project is archived and is in readonly mode.
'Redirected to' string in logs hash.to_s
-
Kieran P
diff --git a/vendor/rails/actionpack/lib/action_controller/base.rb b/vendor/rails/actionpack/lib/action_controller/base.rb
index 36b80d5..ff4c26d 100644 --- a/vendor/rails/actionpack/lib/action_controller/base.rb +++ b/vendor/rails/actionpack/lib/action_controller/base.rb @@ -1072,7 +1072,7 @@ module ActionController #:nodoc: end response.redirected_to = options - logger.info("Redirected to #{options}") if logger && logger.info? + logger.info("Redirected to #{options.inspect}") if logger && logger.info? case options # The scheme name consist of a letter followed by any combination of -
Pratik
- Assigned user set to Pratik
- State changed from new to incomplete
Could you please submit a failing test case ? actionpack/test/controller/logging_test.rb would be the place to put the test.
Thanks !
-
Kieran P
As of Rails 2.3 RC2, this issue is no longer valid (the code has changed from outputting a options hash or url string to always a url string (which makes debugging easier). Please close as fixed/invalid.
-
Pratik
- State changed from incomplete to invalid