[Phpmyadmin-devel] Newlines in error reporting server
michal at cihar.com
Wed Oct 23 09:17:19 CEST 2013
Dne Tue, 22 Oct 2013 20:48:14 -0400
Isaac Bennetch <bennetch at gmail.com> napsal(a):
> In the user description field of the error reporting server, new lines
> are represented as \n rather than <br> or some other HTML-friendly
> means. This is easy to fix, however I'm not sure where best to fix it.
> Do we convert the raw input before submission (line 58 of
> libraries/error_report.lib.php or on display (line 88 of
> app/View/Incidents/view.ctp)? I think it's best to do it on submission,
> but wanted to double-check first.
Doing this on submission time would bring HTML into the server and we
would have to do some sanity checking on it while displaying...
Michal Čihař | http://cihar.com | http://phpmyadmin.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Developers