diff options
author | madmaxoft <github@xoft.cz> | 2013-09-28 23:02:16 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-28 23:02:16 +0200 |
commit | bb0fb0aa3055d797e58bc17d515e55a447c9e6a3 (patch) | |
tree | 18361e979751a43bc7d7161fb72c4961ed753d24 /source/HTTPServer/HTTPFormParser.h | |
parent | Fixed recognition of multipart-form-data forms. (diff) | |
download | cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar.gz cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar.bz2 cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar.lz cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar.xz cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.tar.zst cuberite-bb0fb0aa3055d797e58bc17d515e55a447c9e6a3.zip |
Diffstat (limited to 'source/HTTPServer/HTTPFormParser.h')
-rw-r--r-- | source/HTTPServer/HTTPFormParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/HTTPServer/HTTPFormParser.h b/source/HTTPServer/HTTPFormParser.h index 72a7dfc05..01446e865 100644 --- a/source/HTTPServer/HTTPFormParser.h +++ b/source/HTTPServer/HTTPFormParser.h @@ -50,6 +50,10 @@ protected: AString m_IncomingData; bool m_IsValid; + + /// Simple static objects to hold the various strings for comparison with request's content-type + static AString m_FormURLEncoded; + static AString m_MultipartFormData; /// Parses m_IncomingData as form-urlencoded data (fpkURL or fpkFormUrlEncoded kinds) |