Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Converter.detectCharset throws for inputs longer than 2048 #56

Open
LBoraz opened this issue Mar 31, 2017 · 0 comments
Open

Converter.detectCharset throws for inputs longer than 2048 #56

LBoraz opened this issue Mar 31, 2017 · 0 comments

Comments

@LBoraz
Copy link

LBoraz commented Mar 31, 2017

protected String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in, String enc) throws IOException {
byte[] arr = new byte[2048];

how to reproduce:
do a fetchAndExtract of this url 'http://www.gazzetta.it/Sport-Invernali/Sci-Alpino/Coppa-Mondo-Sci/26-02-2017/sci-combinata-brignone-ho-sciato-senza-paura-uscire-180995893986.shtml'

@LBoraz LBoraz changed the title Converter.detectCharset throws for keys longer than 2048 Converter.detectCharset throws for inputs longer than 2048 Mar 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant