浏览代码

Add rewrite rule for escaping special characters URLs

Sergey M․ 6 年之前
父节点
当前提交
26dc98c5ca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .htaccess

+ 1 - 0
.htaccess

@@ -13,6 +13,7 @@ RewriteRule ^(?:example-url|questions)/?$ https://github.com/ytdl-org/youtube-dl
 RewriteRule ^g403/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-webbrowser [R=302,L,NE]
 RewriteRule ^format-selection/?$ https://github.com/ytdl-org/youtube-dl#format-selection [R=302,L,NE]
 RewriteRule ^output-template/?$ https://github.com/ytdl-org/youtube-dl#output-template [R=302,L,NE]
+RewriteRule ^escape/?$ https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command [R=302,L,NE]
 
 RewriteRule ^update/LATEST_VERSION$ https://ytdl-org.github.io/youtube-dl/update/LATEST_VERSION [R=302,L]
 RewriteRule ^update/versions.json https://ytdl-org.github.io/youtube-dl/update/versions.json [R=302,L]