Hello everybody,

This time I am faced to this issue:

When sending a message including a quote " ' " I receive " \' " on my
mobile.

I use PlaySMS to send a MT and below the url used for the test was:

/cgi-bin/sendsms?username=xxxxxx&password=xxxxxx&from=%2B687xxxxxx&to=%2B687xxxxxx&account=xxx&text=l%27e&dlr-mask=31&dlr-url=http%3A%2F%2F192.168.0.41%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D0%26uid%3D12&mclass=1

so " l'e " was the message in this case. ( &text=l%27e ).

I have checked the logs:

on smsbox.log: the quote is not modified
*2010-05-01 11:52:03 [1724] [3] INFO: sendsms sender:<playsms:+687xxxxxx>
(192.168.0.41) to:<+687xxxxxx> msg:<l'e>*

on sqlbox the message is inserted correctly in mysql:
*43* *MT* *+687xxxxxx* *+687xxxxxx* *[BLOB - 0o]* *l'e* *1272675123* *NULL*
*playsms* *kcn* *NULL* *2* *1* *NULL* *0* *NULL* *NULL* *NULL* *31* *
http://192.168.0.41/playsms/plugin/gateway/kannel/...* *NULL* *NULL* *NULL*
*NULL* *N*
on bearerbox.log:
don't know how to find any clue for this message except the binary code

I am using Kannel CVS + sqlbox ( bearerbox <-> sqlbox <-> smsbox ).

magic quote are OFF in my php.ini.

Did you ever see this? Is it bearerbox that add slash to any quote?

Regards,

-- 
Emmanuel

Reply via email to