[xwiki-devs] [proposal] add getDocumentURL to DocumentAccessBridge with boolean isFullURL to specify whether the url should be the external document url.
I discovered that there is no way to get the full (external) document url from DocumentAccessBridge. Alex informed me that xwiki-crypto was creating certificates with only a partial url when it should be using the full url. I would like to add this to DocumentAccessBridge: String getDocumentURL(DocumentReference documentReference, String action, String queryString, String anchor, boolean isFullURL); which mimics String getAttachmentURL(AttachmentReference attachmentReference, boolean isFullURL); WDYT? Caleb
Actually while I'm at it i might as well deprecate the existing getDocumentURL(DocumentReference documentReference, String action, String queryString, String anchor); and change the code which uses it. Caleb James DeLisle wrote:
I discovered that there is no way to get the full (external) document url from DocumentAccessBridge. Alex informed me that xwiki-crypto was creating certificates with only a partial url when it should be using the full url.
I would like to add this to DocumentAccessBridge:
String getDocumentURL(DocumentReference documentReference, String action, String queryString, String anchor, boolean isFullURL);
which mimics String getAttachmentURL(AttachmentReference attachmentReference, boolean isFullURL);
WDYT?
Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0, JV. On Fri, Aug 6, 2010 at 4:42 PM, Caleb James DeLisle <[email protected]> wrote:
I discovered that there is no way to get the full (external) document url from DocumentAccessBridge. Alex informed me that xwiki-crypto was creating certificates with only a partial url when it should be using the full url.
I would like to add this to DocumentAccessBridge:
String getDocumentURL(DocumentReference documentReference, String action, String queryString, String anchor, boolean isFullURL);
which mimics String getAttachmentURL(AttachmentReference attachmentReference, boolean isFullURL);
WDYT?
Caleb
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Caleb James DeLisle -
Jean-Vincent Drean