This project is archived and is in readonly mode.
TestResponse.cookies are HTML escaped
-
Doug McInnes
Calling cookies["mycookie"] in controller tests return cookie values HTML escpaed.
-
Doug McInnes
- Tag set to 2.3, actioncontroller, cookie, test, testing, tests
Forgot to mention, the attached patch adds a testcase that shows the problem, plus I added a simple fix. Not sure if the fix is an ideal solution but it works :)
-
Roger Ertesvag
I also have this issue after upgrading to Rails 2.3.
Have applied the patch and can confirm that it solves the problem.
-
Repository
- State changed from new to resolved
(from [dc69d9308aefb249eae3776e186f4c94fdf50eb7]) Fix for TestResponse.cookies returning cookies unescaped [#1867 TestResponse.cookies are HTML escaped state:resolved]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
-
Repository
(from [c877857d59554d78dbf45f5f9fcaafb8badec4e2]) Fix for TestResponse.cookies returning cookies unescaped [#1867 TestResponse.cookies are HTML escaped state:resolved]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
