This is not appropriate behavior for HN.
There was no affiliate link in the original post.
ref= is not an affiliate tag, it's an Amazon ref tag.
tag= is an affiliate tag.
https://google.com/search?q=amazon+affiliate+code+url
https://medium.com/feedium/how-to-tell-if-a-link-is-an-amazo...