This project is archived and is in readonly mode.
Rendering "~" caches
-
thedarkone
This is happening because 2.3 is a lot less strict at parsing template filenames while at the same time much more liberal at what it allows a template to claim that is should match to...
So what happens is that we have a
test.html.erb~template that has no rendering handler, but still claims to be renderable fortest.htmlrequests through itsaccessible_paths.0001-Template-without-a-known-template-handler-should-onl.patchwill only render templates without a known template handler only when an exact filename is passed i.e.abc/test.html.erb~orabc/test.js. -
Carlos Júnior (xjunior)
I fully understand it, but I think that files ending with "~" should be ignored anyway, since it's always a cache.
-
josh
- Assigned user set to josh
- Milestone cleared.
-
Repository
- State changed from new to resolved
(from [85df4841ddb3db3970fa9e798de698cf6f16752a]) Template without a known template handler should only be reachable through its exact path. [#2027 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
thedarkone
I don't know what went wrong, but the the fixture templates with
~weren't committed (even though they are in the patch). CI server is going to be pissed :).
