browserify / browserify/http-browserify
Cannot process certain response strings
未关闭
- 主要语言
- JavaScript
- 星标
- 245
- 派生
- 104
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 lib/response.js 第 107 行开始,检查 regex 如何对响应字符串进行分类。使用包含子字符串 "ArrayBuffer" 的响应来重现该问题,包括项目自身的源代码;当此类文本被作为普通响应处理,而不是被误识别为 ArrayBuffer 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- web-dev
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100