Skip to content

Commit

Permalink
codeql action v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvk committed Nov 23, 2024
1 parent 6b7d721 commit 7b67df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/config.yml
Expand Down
3 changes: 2 additions & 1 deletion test/sendmail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ cd `dirname $0`
RECIPIENT=${1:-test@blah}

TOKEN=$(./getusertoken.sh)
BODY="blah<script>alert(1)</script>"

curl -F attachment=@test.pdf \
-F 'from=test@test.com' \
-F 'to='$RECIPIENT'' \
-F 'html=blahblah' \
-F 'html='$BODY'' \
-H "Authorization: Bearer $TOKEN" \
-sS \
-X POST $URL/api/v2/document

0 comments on commit 7b67df1

Please sign in to comment.