Closed picatz closed 10 months ago
I don't know what I was thinking. I must've been lost in the SSA stuff, because I didn't see that the example I was trying to match on didn't make sense.
The echo(r)
call isn't correct. I would need to access the r.Body
, and that never even makes its way back into the response. So, this is a total non-issue. I failed to accurately describe the real problem, trying to handle SSA type assertions.
Similar (actually working) examples seem to be caught by the xss
command 👍
Following up on challenges faced in #9:
☝️
echo
's paramr
being an empty interface that is type asserted (*ssa.TypeAssert
) seems to obscure the call to(http.ResponseWriter).Write
.