e9735a15bb
- Use jinja2.Environment with BaseLoader instead of Template - Enable autoescape=True to escape all template variables - Sanitize relay_targets by converting to strings: [str(ip) for ip in ...] - Prevents template injection even if relay_targets contains malicious content