[bitnami/redmine] Release 5.0.5-debian-11-r18 (#32873)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-05-06 09:14:29 +01:00
committed by GitHub
parent 6a49894b85
commit a68f614c8c
2 changed files with 11 additions and 7 deletions

View File

@@ -412,11 +412,16 @@ generate_random_string() {
ascii)
filter="[:print:]"
;;
numeric)
filter="0-9"
;;
alphanumeric)
filter="a-zA-Z0-9"
;;
numeric)
filter="0-9"
alphanumeric+special|special+alphanumeric)
# Limit variety of special characters, so there is a higher chance of containing more alphanumeric characters
# Special characters are harder to write, and it could impact the overall UX if most passwords are too complex
filter='a-zA-Z0-9!@#$%^'
;;
*)
echo "Invalid type ${type}" >&2
@@ -647,4 +652,4 @@ run_chroot() {
else
chroot --userspec="$userspec" / bash -c "cd ${cwd}; export HOME=${homedir}; exec \"\$@\"" -- "$@"
fi
}
}