Permalink
Browse files

fixed URL rewrite rules to allow download of curated packages

  • Loading branch information...
half-ogre committed Mar 23, 2012
1 parent ab5ca5f commit 403a705e52a99aa01e4b2b462b86d3dea3513193
Showing with 4 additions and 0 deletions.
  1. +4 −0 Website/Web.config
View
@@ -139,6 +139,10 @@
<match url="^media/default/packages/([a-z0-9_][a-z0-9._-]*)/([0-9.]+)/[\w._ -]+\.([a-z]+)$" />
<action type="Redirect" url="https://nugetgallery.blob.core.windows.net/icons/{R:1}.{R:2}.{R:3}" redirectType="Permanent" />
</rule>
+ <rule name="Curated Feed Download URL" stopProcessing="true">
+ <match url="^api/v2/curated-feeds/package/" />
+ <action type="None" />
+ </rule>
<rule name="Curated Feed" stopProcessing="true">
<match url="^api/v2/curated-feeds/([^/]+)(.*)$" />
<action type="Rewrite" url="api/v2/curated-feed{R:2}?name={R:1}" />

0 comments on commit 403a705

Please sign in to comment.