Re: git: 566cc005812b - main - safe_set treat ':' and '#' differently

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Mon, 27 Apr 2026 18:36:38 UTC
Dag-Erling Smørgrav <des@freebsd.org> wrote:
> > The goal here is to ensure a line like that will be ignored.
> 
> That's beside the point, which is that your regex is incorrect.  It will
> treat e.g. `:foo` as a comment.

Which is fine by me.

That is not a syntax one commonly expects to see in rc.conf.d/*

safe_eval is used it sitations where we are paranoid,
normally only wanting to read *verified* input, but there are exceptions
to every rule, and the goal of safe_set is to ensure nothing wicked gets
eval'd.  So I don't mind rejecting :foo=bar