diff --git a/HISTORY.md b/HISTORY.md index 9ed2fb0b..4b356d3f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +unreleased +========== + + * fix urlencoded extended deprecation message + 1.4.0 / 2014-06-19 ================== diff --git a/lib/types/urlencoded.js b/lib/types/urlencoded.js index a7a3b616..9d3e7e21 100644 --- a/lib/types/urlencoded.js +++ b/lib/types/urlencoded.js @@ -37,7 +37,7 @@ function urlencoded(options){ options = options || {}; // notice because option default will flip in next major - if (extended === undefined) { + if (options.extended === undefined) { deprecate('urlencoded: explicitly specify "extended: true" for extended parsing') }