Browse Source

Updated URL matching

tags/v1.3
Teknikode 6 years ago
parent
commit
d10ec24baf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      upload/web.config

+ 2
- 2
upload/web.config View File

@@ -4,14 +4,14 @@
<rewrite>
<rules>
<rule name="View File" enabled="true" stopProcessing="true">
<match url="^([a-zA-Z0-9]+)[\.]?([^/]+)?[^/]$" ignoreCase="false" />
<match url="^([a-zA-Z0-9]+)([\.]([^/]+))?[^/]$" ignoreCase="false" />
<action type="Rewrite" url="/lib/download.php?file={C:1}" appendQueryString="false" logRewrittenUrl="false" />
<conditions>
<add input="{REQUEST_URI}" pattern="/(.+)" />
</conditions>
</rule>
<rule name="Delete Upload" stopProcessing="true">
<match url="^([a-zA-Z0-9]+)[\.]?([^/]+)?/([a-zA-Z0-9]+)/?$" />
<match url="^(([a-zA-Z0-9]+)([\.]([^/]+))?)/([a-zA-Z0-9]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

Loading…
Cancel
Save