mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
ddns-script: removes linefeed which causes 401 err
The linefeed at the end causes ovh-api to return 401 even if the password is correct. Fixes #27693 Signed-off-by: Fabian Zimmermann <dev.faz@gmail.com>
This commit is contained in:
committed by
Florian Eckert
parent
59465b95b8
commit
0201efd635
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ddns-scripts
|
PKG_NAME:=ddns-scripts
|
||||||
PKG_VERSION:=2.8.2
|
PKG_VERSION:=2.8.2
|
||||||
PKG_RELEASE:=79
|
PKG_RELEASE:=80
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
http_basic_encoding() {
|
http_basic_encoding() {
|
||||||
local user="$1"
|
local user="$1"
|
||||||
local password="$2"
|
local password="$2"
|
||||||
echo "${user}:${password}" | openssl base64
|
printf "${user}:${password}" | openssl base64 -in /dev/stdin
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'"
|
[ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'"
|
||||||
|
|||||||
Reference in New Issue
Block a user