Am 22.06.22, 09:13, schrieb christopher kamutumwa:
Hello team, I get this when % sign is put in message . Advise how to resolve.
the function octstr_url_decode() assumes that the input is a URL-encoded string.
By definition a % is a special character in the URL-encoded string format, which follows a 2 character value representing the byte code, i.e. %30 for the ASCII character '0'. A sole '%' in the string, i.e. at the end would be an illegal input, by definition.
If you need to "decode" a '%' sign itself, that would be the URL-encoded value %25.
-- Best Regards, Stipe Tolj ------------------------------------------------------------------- Düsseldorf, NRW, Germany Kannel Foundation tolj.org system architecture http://www.kannel.org/ http://www.tolj.org/ st...@kannel.org s...@tolj.org -------------------------------------------------------------------