From fc16cb21919432d2bdb255b37ea11f0c49201c9a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 1 Aug 2023 11:44:17 +0200 Subject: [PATCH] variables: mention null bytes --- cmdline/variables.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmdline/variables.md b/cmdline/variables.md index dbd0d72d93..a12aaa0fdc 100644 --- a/cmdline/variables.md +++ b/cmdline/variables.md @@ -24,6 +24,9 @@ like `\{{`. For options specified without the `--expand-` prefix, variables will not be expanded. +Variable content holding null bytes that are not encoded when expanded, will +cause curl to exit with an error. + ## Environment variables Import an environment variable with `--variable %name`. This import makes curl