Skip to content

Commit

Permalink
Allow system_default value
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Aug 30, 2024
1 parent 0856f49 commit a1ff6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gsad_validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ init_validator ()
"^(second|minute|hour|day|week|month|year|decade)$");
gvm_validator_add (validator, "chart_title", "(?s)^.*$");
gvm_validator_add (validator, "icalendar", "(?s)^BEGIN:VCALENDAR.+$");
gvm_validator_add (validator, "time_format", "^(12|24)$");
gvm_validator_add (validator, "date_format", "^(wmdy|wdmy)$");
gvm_validator_add (validator, "time_format", "^(12|24|system_default)$");
gvm_validator_add (validator, "date_format", "^(wmdy|wdmy|system_default)$");

/* Binary data params that should not use no UTF-8 validation */
gvm_validator_add_binary (validator, "certificate_bin");
Expand Down

0 comments on commit a1ff6d3

Please sign in to comment.