We have a problem with broken user-avatars when we mention users with @username notation on confluence pages.
The image path to the thumbnails is delivered via search.json rest method.
The propertei href for thumbnailLink is '/confluence/download/attachments/1441802/user-avatar' instead of '/download/attachments/1441802/user-avatar'.
Is /confluence/ hardcoded or cached somewhere?
We haven't configured a context path in conf/server.xml and confluence.cfg.xml.
Is it a bug or have we missed something?