browserify / browserify/http-browserify
Cannot process certain response strings
- Dominant language
- JavaScript
- Stars
- 245
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/substack/http-browserify/blob/master/lib/response.js#L107
Due to the way this regex is used, a response String that contains the substring "ArrayBuffer" is assumed to be an ArrayBuffer. For example, `http-browserify` cannot load a page containing its own source because the regex will select itself.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at lib/response.js line 107 and inspect how the regex classifies response strings. Reproduce the issue with a response containing the substring "ArrayBuffer", including the project's own source; done means such text is processed as a normal response rather than misidentified as an ArrayBuffer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100