Opened 9 years ago

Closed 9 years ago

#994 closed defect (fixed)

http-session's session-del! fails when the entry is the session-item's first binding

Reported by: evhan Owned by: Mario Domenech Goulart
Priority: minor Milestone: someday
Component: extensions Version: 4.8.x
Keywords: http-session Cc:
Estimated difficulty:

Description

session-del! currently fails to remove an entry for the given key when that entry is the first item in the pertinent session-item's bindings alist (because alist-delete! just returns the alist's cdr when its car is to be removed (without set-cdr!ing anything) and the session-item's bindings slot is never updated to refer to the new start of the alist). The attached patch fixes this.

Attachments (1)

fix-session-del-on-first-item.patch (527 bytes) - added by evhan 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by evhan

comment:1 Changed 9 years ago by Mario Domenech Goulart

Resolution: fixed
Status: newclosed

Thanks a lot, Evan. I've pushed your patch and released version 2.8. I've moved the http-session repository to github: https://github.com/mario-goulart/http-session

Note: See TracTickets for help on using tickets.