sanitizing environment variables for Bash ShellShock mitigation