rails/actionpack/lib
Andrew White 436ed51711 Fix Encoding::CompatibilityError when public path is UTF-8
In #5337 we forced the path encoding to ASCII-8BIT to prevent static
file handling from blowing up before an application has had chance to
deal with possibly invalid urls. However this has a negative side
effect of making it an incompatible encoding if the application's
public path has UTF-8 characters in it.

To work around the problem we check to see if the path has a valid
encoding once it has been unescaped. If it is not valid then we can
return early since it will not match any file anyway.

Fixes #13518
2013-12-29 18:38:53 +00:00
..
abstract_controller Move the null mime type to request.format 2013-12-23 16:16:49 -02:00
action_controller Improve font of some code in API documentation [ci skip] 2013-12-26 18:54:46 +08:00
action_dispatch Fix Encoding::CompatibilityError when public path is UTF-8 2013-12-29 18:38:53 +00:00
action_pack Get ready to release 4.1.0.beta1 2013-12-17 16:05:28 -08:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
action_dispatch.rb Remove extra whitespace 2013-04-06 00:54:44 +03:00
action_pack.rb Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00