mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-06-04 22:22:07 -04:00
Update dns_dp.sh
没有encode中文字符会导致提交失败
This commit is contained in:
parent
c33e5bc40f
commit
17f5e557ed
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ add_record() {
|
|||
|
||||
_info "Adding record"
|
||||
|
||||
if ! _rest POST "Record.Create" "login_token=$DP_Id,$DP_Key&format=json&lang=en&domain_id=$_domain_id&sub_domain=$_sub_domain&record_type=TXT&value=$txtvalue&record_line=默认"; then
|
||||
if ! _rest POST "Record.Create" "login_token=$DP_Id,$DP_Key&format=json&lang=en&domain_id=$_domain_id&sub_domain=$_sub_domain&record_type=TXT&value=$txtvalue&record_line=%E9%BB%98%E8%AE%A4"; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue