When linking to an attachment that is stored within a different page, the URL that is generated contains the version number of the current highest version. If there are made new versions of the file, the previously created link (absolute url) will still link to the old version.
Example of current behaviour, using the "Insert Link" screen:
http://servername/download/attachments/3047510/Quantity_Exercises.sql?version=5&modificationDate=1399238534000&api=v2
If instead the link mechanism would use the relative url to the attachment, it wouldn't matter how many versions there are. It would always open the most recent one.
An intermediate workaround is to copy the relative url to the attachment from the Attachments page (right-click and "Copy Link Address"). This will always point to the most recent version.
Example of wanted behaviour:
http://servername/download/attachments/3047510/Quantity_Exercises.sql?api=v2
There should never be absolute paths used for versions of attachments, as you will easily download an outdated version of it.
Is it possible to configure this somehow, or are we stuck with the workaround?