browserify / browserify/http-browserify
Cannot process certain response strings
- Vorherrschende Sprache
- JavaScript
- Sterne
- 245
- Forks
- 104
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100