1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/middleware
Grey Baker f49d20ef36 Stash original path in ShowExceptions middleware
`ActionDispatch::ShowExceptions` overwrites `PATH_INFO` with the status code
for the exception defined in `ExceptionWrapper`, so the path the user was
visiting when an exception occurred was not previously available to any custom
exceptions_app.

The original `PATH_INFO` is now stashed in
`env["action_dispatch.original_path"]`.
2014-07-14 11:55:44 +01:00
..
session [ci skip] /javascript/ -> JavaScript - cover whole app 2014-07-04 03:00:09 +05:30
templates Escape user input before showing in the page. 2014-05-26 15:58:51 -03:00
callbacks.rb class methods moved to already defined class<<self block 2013-11-15 00:23:35 +05:30
cookies.rb Use #bytesize instead of #size when checking for cookie overflow 2014-07-11 13:24:49 +03:00
debug_exceptions.rb Display exceptions in text format for xhr request 2013-08-22 22:20:34 +04:00
exception_wrapper.rb Append link to bad code to backtrace when exception is SyntaxError 2014-03-27 00:36:59 +04:00
flash.rb flash doesn't pass objects #15522 [ci skip] 2014-07-01 23:26:14 +05:30
params_parser.rb Use Request#raw_post instead Request#body 2013-07-08 01:48:35 +03:00
public_exceptions.rb Remove redundant code. 2014-05-20 18:25:20 -07:00
reloader.rb always use a block for cleanup / prepare callbacks so we can clean the method signature 2014-01-28 17:42:48 -08:00
remote_ip.rb [ci skip] Fix capitalization 2014-06-07 14:23:27 +05:30
request_id.rb Mark unused variables and make some style fixes 2013-04-08 22:52:32 +03:00
show_exceptions.rb Stash original path in ShowExceptions middleware 2014-07-14 11:55:44 +01:00
ssl.rb Avoid URI parsing 2014-04-09 14:19:53 -03:00
stack.rb Add the #unshift method to the middleware stack 2012-05-18 16:41:52 +10:00
static.rb Fix Encoding::CompatibilityError when public path is UTF-8 2013-12-29 18:38:53 +00:00