proftpd: update addon (1), convert HTML special entities

This commit is contained in:
Peter 2024-08-16 09:12:36 +02:00
parent fe988ba8e5
commit 67b1285191
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