[Mono-bugs] [Bug 55806][Blo] New - ASMX web service not working w/ ContentType=..., charset=...

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 19 Mar 2004 10:06:20 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gkodinov@openlinksw.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=55806

--- shadow/55806	2004-03-19 10:06:20.000000000 -0500
+++ shadow/55806.tmp.10007	2004-03-19 10:06:20.000000000 -0500
@@ -0,0 +1,26 @@
+Bug#: 55806
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Fedora Core 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gkodinov@openlinksw.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASMX web service not working w/ ContentType=..., charset=...
+
+If an ASMX web service get's called with the following header :
+Content-Type:text/xml; charset="utf-8"
+witch is otherwise perfectly valid HTTP, the 
+System.Web.Services.Protocols.WebServiceHelper.GetContentEncoding () chokes
+up with the double quotes, causing an Unknown encoding exception.
+
+Find attached a fix to chop off the single & double quotes around the
+encoding name.