1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch
Andrew White a150a02659
Use request object for context if there's no controller
There is no controller instance when using a redirect route or a
mounted rack application so pass the request object as the context
when resolving dynamic CSP sources in this scenario.

Fixes #34200.
2018-10-22 17:16:52 +01:00
..
request Add #dig to ActionDispatch::Request::Session 2018-04-04 16:20:16 +09:00
routing Revert "Merge pull request #33970 from rails/eager-url-helpers" 2018-10-03 16:15:47 -05:00
session Embrace the instantiation in loving parens <3 2017-12-03 19:12:06 +01:00
system_testing Partially revert 0bfdd1d 2018-04-07 07:18:16 +09:00
callbacks_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
content_disposition_test.rb Encode Content-Disposition filenames on send_data and send_file 2018-09-13 21:38:46 +09:00
content_security_policy_test.rb Use request object for context if there's no controller 2018-10-22 17:16:52 +01:00
cookies_test.rb Changelog for the new purpose metadata and improved tests 2018-08-13 23:36:03 +05:30
debug_exceptions_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
debug_locks_test.rb Fix can't modify frozen String error in DebugLocks 2017-08-28 21:48:05 +09:00
exception_wrapper_test.rb Use backtrace cleaner to clean up backtrace for verbose query logs 2018-08-14 09:15:28 +10:00
executor_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
header_test.rb Remove Rubocop's comments from Rails code base 2018-07-26 23:37:31 +03:00
live_response_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
mapper_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
middleware_stack_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
mime_type_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
mount_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
prefix_generation_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
rack_cache_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
reloader_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
request_id_test.rb Allow @ in X-Request-Id header 2018-01-29 19:35:39 -05:00
request_test.rb Deprecate ActionDispatch::Http::ParameterFilter in favor of ActiveSupport::ParameterFilter 2018-10-08 08:05:40 +09:00
response_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
routing_assertions_test.rb Make sure assert_recognizes can still find routes mounted after engines 2018-02-09 13:51:20 -05:00
routing_test.rb Merge pull request #34002 from gmcgibbon/fix_deeply_nested_scoped_root 2018-09-27 16:57:35 -04:00
runner_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
show_exceptions_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
ssl_test.rb Check exclude before flagging cookies as secure in ActionDispatch::SSL (#32262) 2018-03-15 17:29:21 -04:00
static_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
test_request_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
test_response_test.rb Deprecate ActionDispatch::TestResponse response aliases 2017-08-07 13:48:02 +10:00
uploaded_file_test.rb Add implicit to path conversion to uploaded file (#28676) 2018-07-22 10:00:40 +02:00
url_generation_test.rb Revert "Merge pull request #33970 from rails/eager-url-helpers" 2018-10-03 16:15:47 -05:00