File attachment download link returns "success": "OK"

This just started happening on our community site - the file upload attachment, when clicked to download it - it returns a JSON response:

{
"success": "OK"
}

I have tried the file links directly and the download works, so I’m thinking this is something to do with the click tracking?

إعجاب واحد (1)

Are you saying that links to attachments don’t work but if you reload them or open in a new tab they do work?

That sounds like a problem I am having Subfolder issue with PDF uploads?

إعجابَين (2)

Are you aware of this @nbianca?

3 إعجابات

I’ve already fixed this one.

https://github.com/discourse/discourse/commit/861023f0d64d1ba26c07d42d24ad55315e50ed1b

4 إعجابات