Skip to content

Commit

Permalink
Merge pull request #400 from blackducksoftware/dev/dterry/IDETECT-365…
Browse files Browse the repository at this point in the history
…7-non-ascii-headers

do not send http headers with project name or version name
  • Loading branch information
dterrybd authored May 5, 2023
2 parents 411e18a + 36345a0 commit 29c8dab
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ private Bdio2UploadResult uploadFiles(List<BdioFileContent> bdioFiles, @Nullable
logger.debug("BDIO upload file count = " + count);

BlackDuckRequestBuilderEditor editor = noOp -> {};
if (nameVersion != null) {
editor = builder -> builder
.addHeader(Bdio2StreamUploader.PROJECT_NAME_HEADER, nameVersion.getName())
.addHeader(Bdio2StreamUploader.VERSION_NAME_HEADER, nameVersion.getVersion());
}

WaitIntervalTracker waitIntervalTracker = WaitIntervalTrackerFactory.createConstant(timeout, BD_WAIT_AND_RETRY_INTERVAL);
ResilientJobConfig jobConfig = new ResilientJobConfig(logger, System.currentTimeMillis(), waitIntervalTracker);
Expand Down

0 comments on commit 29c8dab

Please sign in to comment.