From 58dfe18328edc79b6db818735236cb41a228a262 Mon Sep 17 00:00:00 2001 From: Liang Tao Date: Tue, 1 Jul 2014 14:40:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20authorize=5Fdownload=5Furl?= =?UTF-8?q?=5F2=20=E6=96=B9=E6=B3=95=EF=BC=8C=E5=AF=B9=E5=8C=85=E5=90=AB?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E6=88=96=E5=85=B6=E5=AE=83=20utf-8=20?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E7=9A=84Key=E5=81=9A=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/qiniu/auth.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/qiniu/auth.rb b/lib/qiniu/auth.rb index b552d62..c880d07 100755 --- a/lib/qiniu/auth.rb +++ b/lib/qiniu/auth.rb @@ -176,6 +176,7 @@ module Qiniu return "#{download_url}&token=#{dntoken}" end # authorize_download_url + ### 对包含中文或其它 utf-8 字符的 Key 做下载授权 def authorize_download_url_2(domain, key, args = EMPTY_ARGS) url_encoded_key = CGI::escape(key)