Bug 23810 - [regression] globalization responseEncoding ignored (content-type charset utf-8)
Summary: [regression] globalization responseEncoding ignored (content-type charset utf-8)
Status: NEEDINFO
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-14 06:45 UTC by etienne.champetier
Modified: 2017-01-19 21:09 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
testcase (532 bytes, application/download)
2017-01-19 21:09 UTC, Luis
Details

Description etienne.champetier 2014-10-14 06:45:31 UTC
Hi

we have <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> in our machine.config

instead of
content-type: text/html; charset=utf-8 (mono 3.2.7/3.2.8)
we only have
content-type: text/html

this break all accents ...

the culprit must be 3cc0e3fe3d33bb9dbd8357dd3430db7d507f4487 i think
https://github.com/mono/mono/commit/3cc0e3fe3d33bb9dbd8357dd3430db7d507f4487
Comment 1 etienne.champetier 2014-10-14 08:17:40 UTC
https://github.com/mono/mono/pull/1338
Comment 2 Bernhard Urban 2016-03-29 18:16:27 UTC
as discussed in the mentioned PR, this needs a test.
Comment 3 Luis 2017-01-19 21:09:25 UTC
Created attachment 19407 [details]
testcase

Attached a testcase.

Note You need to log in before you can comment on or make changes to this bug.