andrewying/kloxo — comment on commit af7506e74b4caad275b4d3c8b3e78763935fc4a2
File:  line 0
By andrewying:

Yes that is what I want. It will not crash anything though. I have actually upload it to the dev vps from my IDE. But I need to check out to see if single quote is filtered. But from my previous experience it seems to be escaped.

Best Regards,
Andrew Ying
Sent from my iPhone

On 23 Feb, 2012, at 4:11 AM, shazarlx wrote:

> - $param['forwardaddress'] = trim($param['forwardaddress'], "'");
> 69 + $param['forwardaddress'] = trim($param['forwardaddress'], '\'');
>
>
> Did you test this? Escaping does not work with the literal single quotes. You are trying to escape a single quote within single quotes. I print out of this should show:
>
> \'
>
> Where I think you want:
> '
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/andrewying/kloxo/commit/af7506e74b4caad275b4d3c8b3e78763935fc4a2#commitcomment-997815