Merge pull request #9186 from vpeter4/proftpd-master

proftpd: update addon (1), convert HTML special entities
This commit is contained in:
Christian Hewitt 2024-08-16 15:52:54 +04:00 committed by GitHub
commit d0f92f4309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -1 +1,4 @@
1
- convert HTML special entities in username and password
initial release

View File

@ -5,7 +5,7 @@
PKG_NAME="proftpd"
PKG_VERSION="1.3.8b"
PKG_SHA256="183ab7c6107de271a2959ff268f55c9b6c76b2cf0029e6584fccc019686601e0"
PKG_REV="0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.proftpd.org/"

View File

@ -98,8 +98,8 @@ touch /var/config/proftpd.passwd
chmod 700 /var/config/proftpd.passwd
for NUM in $(seq 1 100); do
USERNAME=$(eval echo \$Username${NUM})
USERPASS=$(eval echo \$Userpass${NUM})
USERNAME=$(eval echo \$Username${NUM} | xmlstarlet unesc)
USERPASS=$(eval echo \$Userpass${NUM} | xmlstarlet unesc)
USERPATH=$(eval echo \$Userpath${NUM})
case "$CryptoHash" in