diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2017-06-14 10:46:50 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-06-16 08:57:16 -0700 |
commit | 00aac57df934b4727a3e6fc8cf70db40216f29ee (patch) | |
tree | a4a9da9e0df96abd1ebcede12a81db51fd6b157c /src/base64.h | |
parent | 06ca2057199f6a8065aa5450bde1f891de74eb40 (diff) | |
download | node-new-00aac57df934b4727a3e6fc8cf70db40216f29ee.tar.gz |
util: ignore invalid format specifiers
In util.format, if a percent sign without a known type is encountered,
just print it instead of silently ignoring it and the next character.
PR-URL: https://github.com/nodejs/node/pull/13674
Fixes: https://github.com/nodejs/node/issues/13665
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/base64.h')
0 files changed, 0 insertions, 0 deletions