Skip to content

Commit b94e601

Browse files
authored
Merge pull request #1001 from jlebon/pr/matrix-fix
utils.groovy: escape MATRIX_WEBHOOK_URL and TOKEN
2 parents 53307b3 + 6ecf9c8 commit b94e601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def matrixSend(message) {
715715

716716
shwrap("""
717717
curl -X POST -H "Content-Type: application/json" \
718-
-u $TOKEN $MATRIX_WEBHOOK_URL \
718+
-u \$TOKEN \$MATRIX_WEBHOOK_URL \
719719
--silent \
720720
-d '
721721
{

0 commit comments

Comments
 (0)