Skip to content

Commit

Permalink
# v2.0.17 修复 部分客户端无法识别 SS/SSR连接和二维码的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo authored May 1, 2017
1 parent 200194a commit a81ab22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ ss_link_qr(){
ssr_link_qr(){
SSRprotocol=`echo ${protocol} | sed 's/_compatible//g'`
SSRobfs=`echo ${obfs} | sed 's/_compatible//g'`
SSRPWDbase64=`echo -n "${password}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g'`
SSRPWDbase64=`echo -n "${password}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g;s/=//g'`
SSRbase64=`echo -n "${ip}:${port}:${SSRprotocol}:${method}:${SSRobfs}:${SSRPWDbase64}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g;s/=//g'`
SSRurl="ssr://"${SSRbase64}
SSRQRcode="http://doub.pw/qr/qr.php?text="${SSRurl}
Expand Down

0 comments on commit a81ab22

Please sign in to comment.