Repository navigation
Commit c745ee5
committed
make-cookie should coerce name and value to strings
Currently, the contract for make-cookie accepts its name and value
args as either strings or byte-strings, but the contracts for
`cookie-name` and `cookie-value` require strings.
This means that `(define c (make-cookie #"name" #"val")` succeeds,
but `(cookie-name c)` raises an error.
This is fixed by having make-cookie convert its arguments as needed.1 parent 0d26815 commit c745ee5
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
0 commit comments