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
Double charset-header #650
Comments
|
Hi @leonerl, Thanks for the bug report. The bug is confirmed. I was able to reproduce with the following configuration: Using curl, that is what i got: There is no configuration directive to suppress the Charset. Here is the slice of the code where the charset is placed: The bug is also reproducible with nginx-1.4.3. |
|
Hi @leonerl, can you test the branch: issue_650, it can be found at: https://github.com/SpiderLabs/ModSecurity/tree/issue_650 |
|
Thanks Felipe .. I will try it out today ... sorry about the late response, it was a long weekend here in AUS. Cheers, On 24/01/2014, at 12:20 AM, Felipe Zimmerle wrote:
Leonel Retamar |
|
IT WORKS! Regards, On 24/01/2014, at 12:20 AM, Felipe Zimmerle wrote:
Leonel Retamar |
Hi there,
I have appended the same comments below on the following issue "ModSecurity 2.7.5 for Nginx 1.4.2 duplicate charset headers".
In response, I was told that there was an update on the way the header is set and that it was fixed under the development tree.
I have updated my MODSEC with the Branch Master code and I still see the same issue.
Please see below my original comments .... any help would be much appreciated.
Is there a way to prevent MODSEC from adding the second charset-header at all (assuming this is expected behaviour)?
I am running version 2.7.7 on NGINX version 1.4.4 (Ubuntu 12.04 LTS) and I can not find a way to toggle this on / off .... not even sure if this is even possible (sorry.. I am pretty new to modsec).
At the moment I have an issue where with modsecurity enabled we appear to be seeing duplicate charset attributes... for example, Content-Type: text/xml; Charset=UTF-8; charset=UTF-8;.... browsers will ignore the duplicate "Charset=UTF-8; charset=UTF-8"; but this is breaking one of my applications (we think that possibly MSXML is choking on it (when it retrieves such content using a document() call)).. just doesn't like that double charset.... the page throws the following error: "....System does not support the specified encoding......"
Thanks.
The text was updated successfully, but these errors were encountered: