diff --git a/mbuni/ChangeLog b/mbuni/ChangeLog index 7b934f1..985267c 100644 --- a/mbuni/ChangeLog +++ b/mbuni/ChangeLog @@ -1,3 +1,5 @@ +2008-03-26 P. A. Bagyenda + * Minor fix: mmsbox mms-service handling of POST parameters where no % spec given 2008-02-17 P. A. Bagyenda * Better throughput limit handling in MMSBox (thanks to Vincent Chavanis diff --git a/mbuni/doc/examples/mmsbox.conf b/mbuni/doc/examples/mmsbox.conf index 647766b..644baa3 100644 --- a/mbuni/doc/examples/mmsbox.conf +++ b/mbuni/doc/examples/mmsbox.conf @@ -24,7 +24,7 @@ group = mms-service name = me post-url = http://localhost/~bagyenda/test-mbuni.php catch-all = true -http-post-parameters = fx=true&images[]=%i&text[]=%t +http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1 accept-x-mbuni-headers = true pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party keyword = test diff --git a/mbuni/doc/userguide.shtml b/mbuni/doc/userguide.shtml index ee14feb..d1d9e88 100644 --- a/mbuni/doc/userguide.shtml +++ b/mbuni/doc/userguide.shtml @@ -2998,7 +2998,7 @@ A detailed list of configuration parameters for MMS Services is given below. Strings - Colon-separated strings: List of receiver short code prefixes + Semicolon-separated strings: List of receiver short code prefixes allowed to use this MMS Service. @@ -3012,7 +3012,7 @@ A detailed list of configuration parameters for MMS Services is given below. Strings - Colon-separated strings: List of receiver short code prefixes not + Semicolon-separated strings: List of receiver short code prefixes not allowed to use this MMS Service. diff --git a/mbuni/mmlib/mms_util.c b/mbuni/mmlib/mms_util.c index 82d7fda..80a5b76 100644 --- a/mbuni/mmlib/mms_util.c +++ b/mbuni/mmlib/mms_util.c @@ -85,7 +85,7 @@ int mms_load_core_settings(mCfgGrp *cgrp) mms_cfg_get_int(cgrp, octstr_imm("http-proxy-port"), &http_proxy_port); if (http_proxy_port > 0) - http_use_proxy(http_proxy_host, http_proxy_port, + http_use_proxy(http_proxy_host, http_proxy_port, exceptions, username, password, except_regex); octstr_destroy(http_proxy_host); octstr_destroy(username); diff --git a/mbuni/mmsbox/mmsbox_cfg.c b/mbuni/mmsbox/mmsbox_cfg.c index 964f348..1480164 100644 --- a/mbuni/mmsbox/mmsbox_cfg.c +++ b/mbuni/mmsbox/mmsbox_cfg.c @@ -436,8 +436,10 @@ int mms_load_mmsbox_settings(mCfg *cfg, gwthread_func_t *mmsc_handler_func) break; } p->value = octstr_copy(y, ii+3, octstr_len(y)); - } else /* No conversion spec. */ + } else { /* No conversion spec. */ + p->type = NO_PART; p->value = octstr_copy(y, ii+1, octstr_len(y)); + } gwlist_append(m->params, p); } else warning(0, "MMSBox: Missing http-post-parameter name? Service [%s]!",