dwaite / cookiejar

Manage client-side HTTP cookies in Ruby
BSD 2-Clause "Simplified" License
42 stars 69 forks source link

use :create_additions to force creation of Ruby objects from JSON #7

Closed boutil closed 10 years ago

boutil commented 11 years ago

Hi,

After CVE-2013-026, creation of Ruby Objects from JSON is deactivated by default. In order to authorize this, the option :create_additions has to be passed to JSON.parse.

This commit adds this to two places in tests, where needed.

Cheers,

Cédric