From b323270b7d6ee7b5c1e46b67adcf2c8f591b2c45 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 1 May 2023 17:44:39 +0000 Subject: [PATCH] Fix wrong format specifier --- nselib/mongodb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/mongodb.lua b/nselib/mongodb.lua index 2a993b8e8..a3277690a 100644 --- a/nselib/mongodb.lua +++ b/nselib/mongodb.lua @@ -67,7 +67,7 @@ local function _element_to_bson(key, value) return false, "key must not start with $: ".. key end if key:find("%.") then - return false, ("key %r must not contain '.'"):format(tostring(key)) + return false, ("key %s must not contain '.'"):format(tostring(key)) end if type(value) == 'string' then