Ticket #496 (closed defect: duplicate)

Opened 10 months ago

Last modified 10 months ago

[PATCH] Cookies broken when trying to retrieve value in current request

Reported by: dbalma..@gmail.com Assigned to:
Priority: major Milestone: 0.9
Component: Merb Keywords: cookie
Cc:

Description

When you set a cookie and try to retrieve it in the same request you actually get the escaped value which is a bug. For example;

  cookies[:foo] = "99%10"
  puts cookies[:foo] #=> 99%2510

The patch supplies the simple fix along with a spec which demonstrates the problem.

Attachments

cookies_fix.diff (1.4 kB) - added by dbalma..@gmail.com on 02/04/08 19:41:11.
Fix for cookie bug along with spec

Change History

02/04/08 19:41:11 changed by dbalma..@gmail.com

  • attachment cookies_fix.diff added.

Fix for cookie bug along with spec

02/11/08 13:46:56 changed by shayarne..@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.