Skip to content
Snippets Groups Projects
Commit 2fcf65a7 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Include: removed variables-related FIXME and substituted a permanent error message.

parent d636abe1
No related branches found
No related tags found
No related merge requests found
......@@ -216,13 +216,12 @@ static bool cmd_include_validate(struct sieve_validator *validator,
if ( !sieve_validator_argument_activate(validator, cmd, arg, FALSE) )
return FALSE;
/* FIXME: We can currently only handle string literal argument, so
* variables are not allowed.
/*
* Variables are not allowed.
*/
if ( !sieve_argument_is_string_literal(arg) ) {
sieve_argument_validate_error(validator, arg,
"this Sieve implementation currently only supports "
"a literal string argument for the include command");
"the include command requires a constant string for its value argument");
return FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.