Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -68,6 +68,14 @@ 68 68 69 69 = Backward Compatibility and Migration Notes = 70 70 71 +== Attachment URL API == 72 + 73 +In order to fix a cache issue related to attachment, we change the behaviour of [[##Document#getAttachmentURL##>>http://nexus.xwiki.org/nexus/service/local/repositories/public/archive/org/xwiki/platform/xwiki-platform-oldcore/11.3/xwiki-platform-oldcore-11.3-javadoc.jar/!/com/xpn/xwiki/api/Document.html#getAttachmentURL-java.lang.String-]] methods. 74 + 75 +Those methods now return by default [[a ##downloadrev## URL>>Documentation.DevGuide.Architecture.URL Architecture.Standard URL Format||anchor="HAction:downloadrev"]] containing a query parameter part. 76 + 77 +If you want to add a query parameter for the returned URL, please don't append it to the returned URL, but [[use the dedicated API>>http://nexus.xwiki.org/nexus/service/local/repositories/public/archive/org/xwiki/platform/xwiki-platform-oldcore/11.3/xwiki-platform-oldcore-11.3-javadoc.jar/!/com/xpn/xwiki/api/Document.html#getAttachmentURL-java.lang.String-java.lang.String-java.lang.String-]]. 78 + 71 71 == General Notes == 72 72 73 73 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added: