minor base64 fix
This commit is contained in:
parent
00198c858a
commit
39f5cccee4
|
@ -1,3 +1,5 @@
|
|||
2008-11-04 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
* Minor fix for base64 decoding in URI with data: schema
|
||||
2008-10-16 P. A. Bagyenda <bayenda@dsmagic.com>
|
||||
* Minor fix for DLR relaying (mmsbox).
|
||||
2008-10-02 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
|
|
|
@ -1465,7 +1465,8 @@ int mms_url_fetch_content(int method, Octstr *url, List *request_headers,
|
|||
List *ph = get_value_parameters(h);
|
||||
Octstr *v = NULL;
|
||||
|
||||
if (ph && (v = http_header_value(ph, octstr_imm("base64"))) != NULL) { /* has base64 item */
|
||||
if ((ph && (v = http_header_value(ph, octstr_imm("base64"))) != NULL) ||
|
||||
octstr_case_search(h, octstr_imm("base64"), 0) >= 0) { /* has base64 item */
|
||||
Octstr *p = NULL;
|
||||
|
||||
octstr_base64_to_binary(data);
|
||||
|
|
Loading…
Reference in New Issue