{"version":"2.1.319","anchor":"env-var-sanitizer-rejects-odd-values-for-a-set-of-vars","canonical_anchor":"env-var-sanitizer-rejects-odd-values-for-a-set-of-vars","heading":"Some environment variable values are now rejected as malformed","tier":"notice","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/env-var-sanitizer-rejects-odd-values-for-a-set-of-vars","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### Some environment variable values are now rejected as malformed\n\nUnder some conditions Claude Code now blocks values for a set of environment variables that fail a format check, while allowing an empty LANG\n\n**Unclear.** Which variables are affected and when the check applies is not stated.\n\n**What**\n\nClaude Code filters the environment variables it passes along. It now also blocks values for a certain set of variables when they fail a format check. This applies only under a particular condition. An empty `LANG` is still allowed.\n\n**Why**\n\nThis tightens which environment values Claude Code accepts, which may matter if a variable you set is unexpectedly dropped.\n\n- Area: Environment Variables\n- Names: `LANG`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}