String literals containing double backslash characters passed directly to external or encoding function calls can lead to a different string being used when ABIEncoderV2 is enabled. This is due to a compiler bug introduced in v0.5.14
and fixed in v0.6.8
. (see here)
- Missed Escaping
- ABIEncoderV2 String Literals
\\
-> Different String- Compiler Bug -> Fixed
solc 0.5.14
-> 0.6.8