coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: mykee on June 28, 2010, 03:34:22 PM

Title: Line break in contact
Post by: mykee on June 28, 2010, 03:34:22 PM
Dear developers,

I get a message from Contact form. When user used a line break (ex. Enter) in message, then I get in mail:
Quote...problem.\r\nHave an another...
What is \r\n? This was an Enter in original message. How can I change these characters to valid line break for email? This language error?

My gallery is here: http://foto.acegem.hu/index.php
Title: Re: Line break in contact
Post by: Αndré on June 28, 2010, 03:53:55 PM
Already fixed in svn. See here (http://coppermine.svn.sourceforge.net/viewvc/coppermine?view=revision&revision=7685).
Title: Re: Line break in contact
Post by: mykee on June 28, 2010, 04:00:42 PM
Thanks! Tested svn file, and working. Nice fix!
Title: Re: Line break in contact
Post by: Joachim Müller on June 28, 2010, 04:17:58 PM
Quote from: mykee on June 28, 2010, 03:34:22 PMWhat is \r\n?
http://en.wikipedia.org/wiki/%5Cr%5Cn

Quote from: mykee on June 28, 2010, 04:00:42 PMThanks! Tested svn file, and working. Nice fix!
Common policies: Resolve your threads (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)