[Webkit-unassigned] [Bug 20795] text/plain form encoding ignored and incorrectly specified in request header
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 31 15:10:00 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=20795
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #112740|review?, commit-queue? |review+, commit-queue+
Flag| |
--- Comment #24 from Darin Adler <darin at apple.com> 2011-10-31 15:10:00 PST ---
(From update of attachment 112740)
View in context: https://bugs.webkit.org/attachment.cgi?id=112740&action=review
> Source/WebCore/platform/network/FormData.h:145
> + static EncodingType parseEncodingType(const String& type)
> + {
> + if (equalIgnoringCase(type, "text/plain"))
> + return TextPlain;
> + if (equalIgnoringCase(type, "multipart/form-data"))
> + return MultipartFormData;
> + return FormURLEncoded;
> + }
Seems a little ugly to include this entire function body here in the class definition.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list