jenkinsci / jenkinsci/http-request-plugin

[JENKINS-76326] Cannot download files larger than MAX_LENGTH

Open
#334 2 comments 0 reactions 0 assignees View on GitHub
component:http-request-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
176
Forks
158
Avg merge
1d 16h
Merged PRs (30d)
3

Description

Using UTF16 to store downloaded data in an HTTP request (probably unintentionally), the download size cannot exceed MAX_LENGTH (Integer.MAX_VALUE >> 1)

---
Originally reported by ez4yunfeng2, imported from: Cannot download files larger than MAX_LENGTH


  • assignee: janario
  • status: Open
  • priority: Minor
  • component(s): http-request-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20260702-081740

Raw content of original issue

Using UTF16 to store downloaded data in an HTTP request (probably unintentionally), the download size cannot exceed MAX_LENGTH (Integer.MAX_VALUE >> 1)

  • environment: plugin Version: 1.22

2 attachments

- [lQLPJxKrPhgr0nPNAUvNA0qwzi-hE3RLzKEJC5tXllEyAA_842_331.png](https://issues.jenkins.io/secure/attachment/65421/lQLPJxKrPhgr0nPNAUvNA0qwzi-hE3RLzKEJC5tXllEyAA_842_331.png)
> ![lQLPJxKrPhgr0nPNAUvNA0qwzi-hE3RLzKEJC5tXllEyAA_842_331.png](https://issues.jenkins.io/secure/attachment/65421/lQLPJxKrPhgr0nPNAUvNA0qwzi-hE3RLzKEJC5tXllEyAA_842_331.png)
- [lQLPKdTgmXCfknPNAuzNBvqwbGtZpqhVV2gJC5tXllEyAQ_1786_748.png](https://issues.jenkins.io/secure/attachment/65422/lQLPKdTgmXCfknPNAuzNBvqwbGtZpqhVV2gJC5tXllEyAQ_1786_748.png)
> ![lQLPKdTgmXCfknPNAuzNBvqwbGtZpqhVV2gJC5tXllEyAQ_1786_748.png](https://issues.jenkins.io/secure/attachment/65422/lQLPKdTgmXCfknPNAuzNBvqwbGtZpqhVV2gJC5tXllEyAQ_1786_748.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.