diff --git a/mbuni/misc-patches/mbuni-kannel-patch-full b/mbuni/misc-patches/mbuni-kannel-patch-full index e61b473..ec7ed78 100644 --- a/mbuni/misc-patches/mbuni-kannel-patch-full +++ b/mbuni/misc-patches/mbuni-kannel-patch-full @@ -914,3 +914,19 @@ diff -Naur gateway-1.4.0/test/test_ppg.c gateway-1.4.0-patched/test/test_ppg.c wait_seconds = atof(optarg); break; +diff -Naur gateway-1.4.0/wap/wsp_headers.c gateway-1.4.0-patched/wap/wsp_headers.c +--- gateway-1.4.0/wap/wsp_headers.c 2004-08-08 23:39:56.000000000 +0300 ++++ gateway-1.4.0-patched/wap/wsp_headers.c 2005-07-05 12:19:53.000000000 +0300 +@@ -122,10 +122,9 @@ + } else if (val > 127) { + *well_known_value = val - 128; + return WSP_FIELD_VALUE_ENCODED; +- } else if (val == WSP_QUOTE) { /* 127 */ ++ } else if (val == WSP_QUOTE || val == '"') { /* 127 or quote -- this is not ideal, but... */ + *well_known_value = -1; +- /* We already consumed the Quote */ +- return WSP_FIELD_VALUE_NUL_STRING; ++ return WSP_FIELD_VALUE_NUL_STRING; + } else { + *well_known_value = -1; + /* Un-parse the character we just read */