This project is archived and is in readonly mode.
TestResponse.cookies are HTML escaped
Reported by Doug McInnes | February 4th, 2009 @ 03:05 AM | in 2.x
Comments and changes to this ticket
-
Doug McInnes February 4th, 2009 @ 03:06 AM
Calling cookies["mycookie"] in controller tests return cookie values HTML escpaed.
-
Doug McInnes February 4th, 2009 @ 05:42 AM
- 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 March 21st, 2009 @ 12:28 PM
I also have this issue after upgrading to Rails 2.3.
Have applied the patch and can confirm that it solves the problem.
-
Repository April 7th, 2009 @ 07:22 PM
- State changed from new to resolved
(from [dc69d9308aefb249eae3776e186f4c94fdf50eb7]) Fix for TestResponse.cookies returning cookies unescaped [#1867 state:resolved]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
-
Repository April 7th, 2009 @ 07:22 PM
(from [c877857d59554d78dbf45f5f9fcaafb8badec4e2]) Fix for TestResponse.cookies returning cookies unescaped [#1867 state:resolved]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1867 TestResponse.cookies are HTML escaped (from [dc69d9308aefb249eae3776e186f4c94fdf50eb7]) Fix for...
- 1867 TestResponse.cookies are HTML escaped (from [c877857d59554d78dbf45f5f9fcaafb8badec4e2]) Fix for...