You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.0 KiB

  1. Index: httpd-2.4.25/server/test_char.h
  2. ===================================================================
  3. --- /dev/null
  4. +++ httpd-2.4.25/server/test_char.h
  5. @@ -0,0 +1,23 @@
  6. +/* this file is automatically generated by gen_test_char, do not edit */
  7. +#define T_ESCAPE_SHELL_CMD (1)
  8. +#define T_ESCAPE_PATH_SEGMENT (2)
  9. +#define T_OS_ESCAPE_PATH (4)
  10. +#define T_HTTP_TOKEN_STOP (8)
  11. +#define T_ESCAPE_LOGITEM (16)
  12. +#define T_ESCAPE_FORENSIC (32)
  13. +
  14. +static const unsigned char test_char_table[256] = {
  15. + 32,62,62,62,62,62,62,62,62,62,63,62,62,62,62,62,62,62,62,62,
  16. + 62,62,62,62,62,62,62,62,62,62,62,62,14,0,23,6,1,38,1,1,
  17. + 9,9,1,0,8,0,0,10,0,0,0,0,0,0,0,0,0,0,40,15,
  18. + 15,8,15,15,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  19. + 0,0,0,0,0,0,0,0,0,0,0,15,31,15,7,0,7,0,0,0,
  20. + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  21. + 0,0,0,15,39,15,1,62,54,54,54,54,54,54,54,54,54,54,54,54,
  22. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,
  23. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,
  24. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,
  25. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,
  26. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,
  27. + 54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54
  28. +};
  29. Index: httpd-2.4.25/server/util.c
  30. ===================================================================
  31. --- httpd-2.4.25.orig/server/util.c
  32. +++ httpd-2.4.25/server/util.c
  33. @@ -96,6 +96,16 @@
  34. #undef APLOG_MODULE_INDEX
  35. #define APLOG_MODULE_INDEX AP_CORE_MODULE_INDEX
  36. +#define T_ESCAPE_SHELL_CMD (0x01)
  37. +#define T_ESCAPE_PATH_SEGMENT (0x02)
  38. +#define T_OS_ESCAPE_PATH (0x04)
  39. +#define T_HTTP_TOKEN_STOP (0x08)
  40. +#define T_ESCAPE_LOGITEM (0x10)
  41. +#define T_ESCAPE_FORENSIC (0x20)
  42. +#define T_ESCAPE_URLENCODED (0x40)
  43. +#define T_HTTP_CTRLS (0x80)
  44. +#define T_VCHAR_OBSTEXT (0x100)
  45. +
  46. /*
  47. * Examine a field value (such as a media-/content-type) string and return
  48. * it sans any parameters; e.g., strip off any ';charset=foo' and the like.