Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Some readability improvements | Evgeny Grin (Karlson2k) | 2022-09-28 |
| | |||
* | Internal refactoring: moved all request-related members to separate structure | Evgeny Grin (Karlson2k) | 2022-08-06 |
| | | | | This should improve readability of the code and simplify reset. | ||
* | src/microhttpd/test_*: more compiler warning fixed | Evgeny Grin (Karlson2k) | 2022-06-14 |
| | |||
* | test_postprocessor{,_large}: additional fixes for compiler warnings | Evgeny Grin (Karlson2k) | 2022-06-14 |
| | |||
* | test_postprocessor{,_amp,_large}: fixed compiler warnings, fixed extra-long ↵ | Evgeny Grin (Karlson2k) | 2022-06-13 |
| | | | | strings | ||
* | test_postprocessor: fixed typo | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | Refactoring: different types for response and request headers | Evgeny Grin (Karlson2k) | 2022-04-17 |
| | | | | | Request headers are always read-only (const char *), while response headers are modifiable. Should help with catching errors in code. | ||
* | test_postprocessor: changed to match current API | Evgeny Grin (Karlson2k) | 2021-09-20 |
| | |||
* | -fix typo | Christian Grothoff | 2021-09-16 |
| | |||
* | test_postprocessor: added testing of hex-encoded values | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: report more details | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: added test with double value | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: improved error reporting | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | Fixed f032145edcb39e0445e4f78fec51867b9f89706c | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | | | | | Ensure that parsing fail because of the wrong format, not because of the callback. | ||
* | test_postprocessor: added more tests for urlencoding | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: added more tests for urlencoding | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: improved error reporting | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: added more cases for urlencoding | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | Missing part of cec8013b704fd5f9631f8e67bc3f807603bde9b3 | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: integrated one check into unified testing | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: test urlencoding more thoroughly | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: added check with empty key | Evgeny Grin (Karlson2k) | 2021-09-15 |
| | |||
* | test_postprocessor: fixed strlen() with NULL | Evgeny Grin (Karlson2k) | 2021-09-12 |
| | |||
* | test_postprocessor: fixed call of memcmp() with NULL pointers | Evgeny Grin (Karlson2k) | 2021-09-12 |
| | |||
* | test_postprocessor: catch impossible value | Evgeny Grin (Karlson2k) | 2021-09-11 |
| | |||
* | test_postprocessor: improved code readability | Evgeny Grin (Karlson2k) | 2021-09-11 |
| | | | | Robustness is improved as well as a side-effect | ||
* | test_postprocessor: fixed printf() called with NULL pointer | Evgeny Grin (Karlson2k) | 2021-09-11 |
| | |||
* | test_postprocessor: added checks for returned values | Evgeny Grin (Karlson2k) | 2021-09-10 |
| | |||
* | Fixed and muted compiler warnings | Evgeny Grin (Karlson2k) | 2020-12-23 |
| | |||
* | fix postprocessor parser issue discovered by MD | Christian Grothoff | 2020-07-10 |
| | |||
* | fix buffer overflow and add testv0.9.71 | Christian Grothoff | 2020-06-28 |
| | |||
* | define and use 'enum MHD_Result' | Christian Grothoff | 2020-04-08 |
| | |||
* | add post processor logic fix | Christian Grothoff | 2019-12-26 |
| | |||
* | more logging in testcase | Christian Grothoff | 2019-12-25 |
| | |||
* | Given post body "a&b=1", how should MHD interpret the data? | Christian Grothoff | 2019-12-24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm at the end of a long investigation and it's come down to that question for post_process_urlencoded() in MHD. MHD currently calls back with ("a&b", "1"). The app I'm working breaks when it doesn't receive a callback for "b". The http client in this case (that did the urlencoding) is google-http-java-client 1.23.0. The client behavior may be questionable, but MHD's behavior doesn't seem right either. Isn't there some principle, "clients should strive for conformance, servers should strive for forgiveness". I've attached a patch to MHD to add a failing test, but without a fix. As for relevant standards, the W3C[1] is not detailed enough to cover it. The WhatWG[2] is more specific and allows for empty values and even empty keys. I'd like to callout uriparser[3], another C library I've patched in as a work-around. Uriparser documents their handling of these cases well: * NULL in the value member means there was no '=' in the item text as with "?abc&def". * An empty string in the value member means there was '=' in the item as with "?abc=&def". [1] https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1 [2] https://url.spec.whatwg.org/#urlencoded-parsing [3] https://uriparser.github.io/doc/api/latest/#querystrings commit aa0534af56d135e1b261d127af09c22015c1ff87 Author: Ethan Tuttle <ethan@ethantuttle.com> Date: Tue Dec 24 03:50:59 2019 -0800 urlencoding post-processor: add failing tests for keys without values | ||
* | tighten formatting rules | Christian Grothoff | 2019-10-31 |
| | |||
* | applying uncrustify to ensure uniform indentation | Christian Grothoff | 2019-10-17 |
| | |||
* | test_postprocessor*: fixed to use updated struct MHD_HTTP_Header | Evgeny Grin (Karlson2k) | 2019-05-03 |
| | |||
* | check response allocation succeeded when generating internal errors | Christian Grothoff | 2018-06-22 |
| | |||
* | Fixed compiler warnings for tests in src/microhttpd | Evgeny Grin (Karlson2k) | 2017-09-29 |
| | |||
* | fix more clang warnigns | Christian Grothoff | 2016-10-17 |
| | |||
* | Moved generic emulated functions to mhd_compat.h/.c, removed "platform" dir, | Evgeny Grin (Karlson2k) | 2016-08-23 |
| | | | | removed "w32functions.h/.c" | ||
* | fix #3869: outdated FSF address | Christian Grothoff | 2015-06-30 |
| | |||
* | -bringing copyright tags up to FSF standard | Christian Grothoff | 2015-02-07 |
| | |||
* | Implement MHD_W32_random(), replace RANDOM() -> MHD_random_() | Evgeny Grin (Karlson2k) | 2014-02-18 |
| | |||
* | -fix post processor, expanded test suite to cover garbage before payload | Christian Grothoff | 2013-10-30 |
| | |||
* | Add a variant of multipart preprocessor test that splits data in two parts | LRN | 2013-10-30 |
| | | | | | | | | | before feeding it to the preprocessor, trying all possible points where data can be split. Prior to r30427 this test would have crashed only if data is split at the very beginning (< 11). After r30427 this test crashes every time the data is split somewhere around the boundary. At least that is the case on W32. | ||
* | -changing directory name | Christian Grothoff | 2013-05-05 |