Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract charset encoding from HTTP headers or HTML headers. #479

Merged

Conversation

gustavo-iniguez-goya
Copy link
Contributor

Workaround for #451 and #50.

ByteBuffer() using UniversalDetector fails to detect and set the charset encoding when redirecting the intecepted html to the browser of the target.
The way I've found of fix it is by extracting the charset from the HTTP headers or from the HTML , and set it when redirecting the html to the target.

gustavo-iniguez-goya added a commit that referenced this pull request Nov 4, 2015
Extract charset encoding from HTTP headers or HTML headers.
@gustavo-iniguez-goya gustavo-iniguez-goya merged commit cbaa951 into cSploit:develop Nov 4, 2015
@gustavo-iniguez-goya gustavo-iniguez-goya deleted the issue_451 branch November 6, 2015 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants