Skip to content

Commit

Permalink
Merge branch 'do_not_strip_newlines_in_CSD_response' of gitlab.com:dl…
Browse files Browse the repository at this point in the history
…enski/openconnect
  • Loading branch information
dwmw2 committed May 14, 2020
2 parents 1e10c19 + 1b35388 commit 63ca1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trojans/csd-post.sh
Expand Up @@ -151,7 +151,7 @@ fi
COOKIE_HEADER="Cookie: sdesktop=$TOKEN"
CONTENT_HEADER="Content-Type: text/xml"
URL="https://$CSD_HOSTNAME/+CSCOE+/sdesktop/scan.xml?reusebrowser=1"
curl $PINNEDPUBKEY -H "$CONTENT_HEADER" -H "$COOKIE_HEADER" --data @$RESPONSE "$URL" > $RESULT
curl $PINNEDPUBKEY -H "$CONTENT_HEADER" -H "$COOKIE_HEADER" -H 'Expect: ' --data-binary @$RESPONSE "$URL" > $RESULT

cat $RESULT || :

Expand Down

0 comments on commit 63ca1e4

Please sign in to comment.