hcl/test-fixtures
Paul Hinze 8e05f061d6
strconv: Fix escaped backslashes \\ in braces ${}
Fixes https://github.com/hashicorp/terraform/issues/6359 and several
related issues by unescaping a double backslash within braces to a
single backslash.

This bumps into the bit of HIL that still hangs out in HCL - for values
that aren't interpolated, like Terraform's variable defaults - users
were unable to get a backslash to show up within `${}`.

That's because `${}` is handled specially to allow for, e.g., double
quotes inside of braces.

Here, we add `\\` as a special cased escape (along with `\"`) so users
can get backslashes in these scenarios by doubling them up.
2016-06-06 19:05:05 -05:00
..
2014-09-30 22:29:21 -07:00
2014-08-28 17:03:42 -07:00
2014-08-11 14:19:35 -07:00
2014-08-11 14:19:35 -07:00
2014-11-12 21:29:07 -08:00
2014-11-12 21:29:07 -08:00
2015-11-10 15:08:59 -08:00
2015-11-10 15:08:59 -08:00
2015-11-10 15:08:59 -08:00
2015-11-10 15:08:59 -08:00
2014-08-21 14:42:02 -07:00
2015-11-09 20:02:20 -08:00
2014-08-11 20:58:20 -07:00