Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

XWIKI-7228: Support URL without explicit prefix in XR download link

  • Loading branch information...
commit 71e400b9c266148d079e16b7d37fa306aa836f50 1 parent f90e02c
Thomas Mortagne authored December 05, 2011
1  ...iki-server-api/src/main/java/org/xwiki/extension/repository/xwiki/internal/ExtensionUpdaterListener.java
@@ -81,6 +81,7 @@
81 81
      * Used to validate download reference.
82 82
      */
83 83
     @Inject
  84
+    @Named("link")
84 85
     private ResourceReferenceParser resourceReferenceParser;
85 86
 
86 87
     /**
2  .../main/java/org/xwiki/extension/repository/xwiki/internal/resources/ExtensionVersionFileRESTResource.java
@@ -23,6 +23,7 @@
23 23
 import java.net.URISyntaxException;
24 24
 
25 25
 import javax.inject.Inject;
  26
+import javax.inject.Named;
26 27
 import javax.ws.rs.GET;
27 28
 import javax.ws.rs.Path;
28 29
 import javax.ws.rs.PathParam;
@@ -56,6 +57,7 @@
56 57
 public class ExtensionVersionFileRESTResource extends AbstractExtensionRESTResource
57 58
 {
58 59
     @Inject
  60
+    @Named("link")
59 61
     private ResourceReferenceParser resourceReferenceParser;
60 62
 
61 63
     @Inject

0 notes on commit 71e400b

Please sign in to comment.
Something went wrong with that request. Please try again.