mmcgrana/ring — Issue #51: Cookie parsing needs to deal with nil return value from url-decode
Author: cch1
Created: 2012-02-03 21:31:35+00:00
State: open

The decision to allow url-decode to return nil for improperly encoded strings (instead of throwing an exception) now means that cookie handling needs to accomodate this newly-endorsed return value.

Frankly, I think raising an exception was the right behavior, but since nil is now a valid return value, the normalize-quoted-strs function now fails with an NPE if any cookie value cannot be decoded.