If embedding auth_token in remote forms is off and we pass a value for auth_token it should respect it.
Embed auth token in remote forms
Textarea newline fix breaks haml (3-2-stable)
Previously `rendered_format` was set only based on mime types passed in Accept header, which was wrong if first type from Accept was different than rendered partial. The fix is to simply move setting rendered_format to the place where template is available and grab format from the template. If it fails we can fallback to formats passed by Accept header.
Fix build for branch 3-2-stable - return the same session hash object
Make sure to return the same hash object instead of returning a new one. Returning a new one causes failures on cookie store tests, where it tests for the 'Set-Cookie' header with the session signature. This is due to the hash ordering changes on Ruby 1.8.7-p358.
…he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
This fixes situation where rendering template to string sets `rendered_format` to the format rendered there. This is ok to have consistent formats rendered in partials, but it breaks on next renders if format is explicitly set or on last render where default format does not necessarily need to be the format of first rendered template.
Fix typo in redirect test
Strip null bytes from Location header
3 2 static invalid byte sequence
This method has no effect since exception handling was moved to middlewares and ActionController tests do not use any middlewares.
…te forms if you pass true
…ajax forms use the meta-tag value
Also add missing entries and use the formating convention