mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
fix: remove :xdigit:
This commit is contained in:
@@ -58,7 +58,7 @@ teams_send() {
|
|||||||
_color="$TEAMS_SKIP_COLOR"
|
_color="$TEAMS_SKIP_COLOR"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
_color="$(echo "${_color:-$TEAMS_THEME_COLOR}" | tr -cd '[:xdigit:]')"
|
_color="$(echo "${_color:-$TEAMS_THEME_COLOR}" | tr -cd 'a-fA-F0-9')"
|
||||||
|
|
||||||
_data="{\"title\": \"$_subject\","
|
_data="{\"title\": \"$_subject\","
|
||||||
if [ -n "$_color" ]; then
|
if [ -n "$_color" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user