[Phpmyadmin-devel] bug 2107583

Isart Montane isart.montane at gmail.com
Wed Oct 15 17:30:12 CEST 2008

hi all,

this is my first email and I'm trying to solve my first bug... so any
help would be appreciate :)

As marc suggested I'm trying to solve this bug

I think i've found a way to solve it but I'm not really happy with the solution.

The main problem with this bug is when you write this 2 html the
submited value is the same (and it shouldn't)
code 1:
Code 2 (see the \n before 'hi'):

I can't understand why the textarea tag ignores the first \n (or \r).
The easiest way to solve it (but I don't like it) is add an extra \n
just before the text like this
Code 3 (see the \n\n before 'hi'):

As this line is ignored all the times it should work (I don't know if
all the browsers ignores this \n...)

do you have any better ideas?
Attached you can see a php example to reproduce the bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.php
Type: application/x-httpd-php
Size: 533 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20081015/ad86beec/attachment.bin>

More information about the Developers mailing list