]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix quoting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Mar 2024 20:58:00 +0000 (14:58 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Mar 2024 20:58:00 +0000 (14:58 -0600)
src/lib/util/pair.c

index 680b2b30a66c6f94ec65a12b1d89b0238eaa474c..e5720a23c8348eb3193cb81c37221e1a694c86dd 100644 (file)
@@ -2086,7 +2086,8 @@ void fr_pair_validate_debug(TALLOC_CTX *ctx, fr_pair_t const *failed[2])
        if (!value || !str) return;
 #endif
 
-       fr_strerror_printf("Attribute value \"%s\" didn't match filter: %s", value, str);
+       fr_strerror_printf("Attribute value \"%pV\" didn't match filter: \"%pV\"",
+                          fr_box_strvalue_buffer(value), fr_box_strvalue_buffer(str));
 
        talloc_free(str);
        talloc_free(value);