Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -40,7 +40,7 @@ class ToolsController extends WebAction | @@ -40,7 +40,7 @@ class ToolsController extends WebAction | ||
40 | ); | 40 | ); |
41 | $html = ''; | 41 | $html = ''; |
42 | foreach ($channels as $key => $val) { | 42 | foreach ($channels as $key => $val) { |
43 | - $url = '/tools/cacheclear?key='.AuthCode::encode($val, 'yohobuy'); | 43 | + $url = '/tools/cacheclear?key='.urlencode(AuthCode::encode($val, 'yohobuy')); |
44 | $html.= sprintf('<li><a href="%s" target="_blank">清除%s缓存</a></li>',$url, $key); | 44 | $html.= sprintf('<li><a href="%s" target="_blank">清除%s缓存</a></li>',$url, $key); |
45 | } | 45 | } |
46 | echo $html; | 46 | echo $html; |
-
Please register or login to post a comment