Re: Do I need to use sanitize?

2010-09-30 Thread WhyNotSmile
Thanks. I'm just sending plain text emails, so that should be fine. Sharon On 30 Sep, 06:04, Dr. Loboto drlob...@gmail.com wrote: I personally never user Sanitize as don't want to break user-entered data. Instead of it I use h() to escape all text on HTML output. On save to database also

RE: Do I need to use sanitize?

2010-09-30 Thread Dave Maharaj
PM To: CakePHP Subject: Re: Do I need to use sanitize? Thanks. I'm just sending plain text emails, so that should be fine. Sharon On 30 Sep, 06:04, Dr. Loboto drlob...@gmail.com wrote: I personally never user Sanitize as don't want to break user-entered data. Instead of it I use h() to escape

Re: Do I need to use sanitize?

2010-09-30 Thread euromark
even though it may not be needed for security reasons it certainly is for aesthetic reasons. Dave -Original Message- From: WhyNotSmile [mailto:sharongilmor...@gmail.com] Sent: September-30-10 1:10 PM To: CakePHP Subject: Re: Do I need to use sanitize? Thanks. I'm just sending

Re: Do I need to use sanitize?

2010-09-30 Thread j.blotus
reasons it certainly is for aesthetic reasons. Dave -Original Message- From: WhyNotSmile [mailto:sharongilmor...@gmail.com] Sent: September-30-10 1:10 PM To: CakePHP Subject: Re: Do I need to use sanitize? Thanks. I'm just sending plain text emails, so that should be fine

Re: Do I need to use sanitize?

2010-09-30 Thread euromark
think even though it may not be needed for security reasons it certainly is for aesthetic reasons. Dave -Original Message- From: WhyNotSmile [mailto:sharongilmor...@gmail.com] Sent: September-30-10 1:10 PM To: CakePHP Subject: Re: Do I need to use sanitize

Re: Do I need to use sanitize?

2010-09-29 Thread Dr. Loboto
I personally never user Sanitize as don't want to break user-entered data. Instead of it I use h() to escape all text on HTML output. On save to database also nothing needed as Cake properly escape data itself. So if you send HTML emails you need just escape user-entered text and that's all. On