Small bug in smsbox

Paul Bagyenda <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

  sms box now supports url as well as text and exec methods for 
generating responses to sms. However the use of parameters for the exec 
cases is somewhat flawed: smsbox performs url encoding on the command 
parameters, which is probably undesirable for most applications. A 
quick but dirty solution is to insert a  call to

  octstr_url_decode(pattern);

  just after the

  case TRANSTYPE_EXECUTE:

But there must be  a better solution, no?!

P.

-----------------------------
Paul A. Bagyenda
Digital Solutions
P.O.Box 23833
58 Bukoto Str.
Kampala, UGANDA

Tel: +256-31-262117
Mob: +256-77-507743
Email: [email protected]
Web: http://www.dsmagic.com
-----------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.