Browse Source

shadowsocks-libev: fix cases where passwords contain dquote

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
57114609c4
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/shadowsocks-libev/Makefile
  2. +1
    -0
      net/shadowsocks-libev/files/shadowsocks-libev.init

+ 1
- 1
net/shadowsocks-libev/Makefile View File

@ -19,7 +19,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME:=shadowsocks-libev
PKG_VERSION:=3.0.6
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)


+ 1
- 0
net/shadowsocks-libev/files/shadowsocks-libev.init View File

@ -47,6 +47,7 @@ ss_mkjson_server_conf() {
ss_mkjson_server_conf_() {
[ -n "$server_port" ] || return 1
password="${password//\"/\\\"}"
cat <<-EOF
${server:+${q}server${q}: ${q}$server${q},}
"server_port": $server_port,


Loading…
Cancel
Save