Skip to content

Commit

Permalink
don't pass auth on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Nov 29, 2024
1 parent e079ec9 commit 1fde384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sample/test-reporter.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
throw "get download artifact url failed [#cfhttp.errordetail#]";
http url=cfhttp.responseHeader.location path=getTempDirectory() file=listLast(artifact_zip,"\/") {
httpparam type="header" name="Accept" value="application/vnd.github+json";
httpparam type="header" name="Authorization" value="Bearer #github_token#";
httpparam type="header" name="X-GitHub-Api-Version" value="2022-11-28";
//httpparam type="header" name="Accept" value="application/vnd.github+json";
//httpparam type="header" name="Authorization" value="Bearer #github_token#";
//httpparam type="header" name="X-GitHub-Api-Version" value="2022-11-28";
};
systemOutput( cfhttp, true );
if ( cfhttp.error )
Expand Down

0 comments on commit 1fde384

Please sign in to comment.