Re: [PATCH] RE: Messages with php stripslashes

2010-06-14 Thread Emmanuel CHANSON
. == Rene -Original Message- From: Alejandro Guerrieri [mailto:aguerri...@kannel.org] Sent: vrijdag 11 juni 2010 23:52 To: Rene Kluwen Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org Subject: Re: [PATCH] RE: Messages with php stripslashes + msg_escaped = msg_duplicate(msg

Re: [PATCH] RE: Messages with php stripslashes

2010-06-14 Thread Tomasz
Guerrieri [mailto:aguerri...@kannel.org] Sent: vrijdag 11 juni 2010 23:52 To: Rene Kluwen Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org Subject: Re: [PATCH] RE: Messages with php stripslashes + msg_escaped = msg_duplicate(msg); if (msg-sms.sms_type != report_mo

Re: [PATCH] RE: Messages with php stripslashes

2010-06-14 Thread Emmanuel CHANSON
Kluwen Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org Subject: Re: [PATCH] RE: Messages with php stripslashes + msg_escaped = msg_duplicate(msg); if (msg-sms.sms_type != report_mo) -gw_sql_save_msg(msg, octstr_imm(MO)); +gw_sql_save_msg(msg_escaped

Re: [PATCH] RE: Messages with php stripslashes

2010-06-14 Thread Emmanuel CHANSON
[mailto:aguerri...@kannel.org] Sent: vrijdag 11 juni 2010 23:52 To: Rene Kluwen Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org Subject: Re: [PATCH] RE: Messages with php stripslashes + msg_escaped = msg_duplicate(msg); if (msg-sms.sms_type != report_mo) -gw_sql_save_msg

RE: [PATCH] RE: Messages with php stripslashes

2010-06-12 Thread Rene Kluwen
] Sent: vrijdag 11 juni 2010 23:52 To: Rene Kluwen Cc: 'Tomasz'; 'Kannel list'; de...@kannel.org Subject: Re: [PATCH] RE: Messages with php stripslashes + msg_escaped = msg_duplicate(msg); if (msg-sms.sms_type != report_mo) -gw_sql_save_msg(msg, octstr_imm(MO

Re: Messages with php stripslashes

2010-06-11 Thread Tomasz
Hi, I've got the same issue - when we send MT message by CGI which contains ' sign, the recipient gets \' (escaped '). When we inject MT directly to MySQL Database, recipient get only ' sing (valid!). Our configuration is: PHP MT PUSH - SMSBOX - SQLBOX - BEARERBOX - SMSC The problem is caused

[PATCH] RE: Messages with php stripslashes

2010-06-11 Thread Rene Kluwen
patch. Votes? -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Tomasz Sent: vrijdag 11 juni 2010 15:10 To: Kannel list Subject: Re: Messages with php stripslashes Hi, I've got the same issue - when we send MT message by CGI which contains

Re: [PATCH] RE: Messages with php stripslashes

2010-06-11 Thread Tomasz
: vrijdag 11 juni 2010 15:10 To: Kannel list Subject: Re: Messages with php stripslashes Hi, I've got the same issue - when we send MT message by CGI which contains ' sign, the recipient gets \' (escaped '). When we inject MT directly to MySQL Database, recipient get only ' sing (valid!). Our

RE: Messages with php stripslashes

2010-05-24 Thread Cezary Siwek
To: Users Subject: Messages with php stripslashes Hi, I'm using sqlbox to insert text messages into kannel from our php website. Previous to using PHP stripslashes, when ever a person had a ' in a word such as it's, it would add a slash like it\'s which is understandable. We've since used php

Re: Messages with php stripslashes

2010-05-24 Thread Emmanuel CHANSON
-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Barry Murphy Sent: 24 May 2010 00:45 To: Users Subject: Messages with php stripslashes Hi, I'm using sqlbox to insert text messages into kannel from our php website. Previous to using PHP stripslashes, when ever a person had

Messages with php stripslashes

2010-05-23 Thread Barry Murphy
Hi, I'm using sqlbox to insert text messages into kannel from our php website. Previous to using PHP stripslashes, when ever a person had a ' in a word such as it's, it would add a slash like it\'s which is understandable. We've since used php stripslashes('it\'s') which sends it's to sqlbox and

Re: Messages with php stripslashes

2010-05-23 Thread Emmanuel CHANSON
I have posted some weeks ago a similar issue with sqlbox but it is not resolved for the moment, Alejandro to check on his side to reproduce the issue. Check my post in the mailling list archive to see if it the same problem: Object: *Quote and backslash issue* As you when using CGI interface to