Closed weq closed 4 years ago
The output created by PSTeams seems to be correct. It looks like Teams Hooks are doing the removal and I believe it's simply "escaping" special chars, just like you would normally do.
VERBOSE: Send-TeamsMessage - Execute 1 Body
{
"sections": [
{
"facts": [
{
"name": "test",
"value": "test\\"
},
{
"name": "test",
"value": "test\\\\"
},
{
"name": "test",
"value": "test\\\\\\"
},
{
"name": "test",
"value": "test\\"
},
{
"name": "test",
"value": "test\\\\"
},
{
"name": "test",
"value": "test\\\\\\"
},
{
"name": "test",
"value": "\\test\\"
},
{
"name": "test",
"value": "\\test\\"
},
{
"name": "test",
"value": "\\\\\\\\te\\\\st\\\\"
},
{
"name": "test",
"value": "\\\\\\\\\\\\test\\\\123"
}
]
}
],
"title": "crap",
"summary": "crap"
}
Urk yeah you are right.. I saw at this a tad quickly on it as suspected it first being an encoding issue or something.
It behaves the both with single quotes and double quotes and just eats slashes depending on where they are.