browserify / browserify/http-browserify
Cannot process certain response strings
- Lingua principale
- JavaScript
- Stelle
- 245
- Fork
- 104
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- web-dev
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100