diff options
author | Sergey M․ <[email protected]> | 2016-06-11 02:25:05 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-06-11 02:25:05 +0700 |
commit | b0035c3448a5c95f0748fcb9b0af983ecd8ba21e (patch) | |
tree | f0a9dd2fc6f73d4fbd045473bff1fe82e3300e73 | |
parent | 8c6f08911f366b2b2c1a8c2929206f1666beeba7 (diff) | |
download | youtube-dl-b0035c3448a5c95f0748fcb9b0af983ecd8ba21e.tar.gz youtube-dl-b0035c3448a5c95f0748fcb9b0af983ecd8ba21e.zip |
Allow latest without trailing slash
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ RewriteRule ^g403$ https://github.com/rg3/youtube-dl/blob/master/README.md#i-ext RewriteRule ^latest/version$ latest_version [L,T=text/plain] RewriteRule ^latest_version$ - [T=text/plain] -RewriteRule ^latest/(.*)$ /downloads/latest/$1 [R=302,L] +RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L] ErrorDocument 302 "302" |