3,035
edits
| Line 42: | Line 42: | ||
# Rewrites to be compatible with older versions of addons. | # Rewrites to be compatible with older versions of addons. | ||
RewriteRule ^update/VersionCheck.php(.*)$ update.php$1 | RewriteRule ^update/VersionCheck.php(.*)$ update.php$1 | ||
# Rewrite for client blocklist requests. | # Rewrite for client blocklist requests. | ||
# Example: | # Example: | ||
# /blocklist/1/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/1.5 -> blocklist.php?reqVersion=1&appGuid={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=1.5 | # /blocklist/1/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/1.5 -> blocklist.php?reqVersion=1&appGuid={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=1.5 | ||
RewriteRule ^blocklist/(.+)/(.+)/(.+)[/]{0,1}$ blocklist.php?reqVersion=$1&appGuid=$2&appVersion=$3 | RewriteRule ^blocklist/(.+)/(.+)/(.+)[/]{0,1}$ blocklist.php?reqVersion=$1&appGuid=$2&appVersion=$3 | ||
# PFS | # PFS | ||
# ? it is in production, but not known. | # ? it is in production, but not known. | ||
edits