Skip to content

Commit 5d69561

Browse files
authored
fix(tests): Django 2.0 and 2.1 compatible csrf token extraction (#1052)
1 parent 76c33bb commit 5d69561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_integration-test/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ login () {
5757
exit -1
5858
fi
5959

60-
CSRF_TOKEN_FOR_LOGIN=$(curl $SENTRY_TEST_HOST -sL -c "$COOKIE_FILE" | awk -F "'" '
60+
CSRF_TOKEN_FOR_LOGIN=$(curl $SENTRY_TEST_HOST -sL -c "$COOKIE_FILE" | awk -F "['\"]" '
6161
/csrfmiddlewaretoken/ {
6262
print $4 "=" $6;
6363
exit;

0 commit comments

Comments
 (0)