docker stack deploy reads env_file literally without stripping quotes (unlike docker compose), so the quoting/escaping added to fix #4694 was shipping literal quote characters into stack containers. Fixes #5096, #5110.