Carriage return in view mode

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
sandorkacso

Carriage return in view mode

Post by sandorkacso »

I have this problem because of updating from 1.2.11 to 1.2.14. On the old version I still can see all the lines but in the new version the same issue is in one block without any carriage return (enter) in it.
I tried the following to add to config_inc.php:

$g_allow_html_tags = OFF;
$g_html_valid_tags = 'p, li, ul, ol, br, pre, i, b, u, em';
$g_html_make_links = OFF;

but it seems is not working; I also tried to change the second one to empty string and also to comment it, but it is still the same issue.
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Carriage return in view mode

Post by atrol »

I am quite sure that your problem is not caused by upgrading from 1.2.11 to 1.2.14.
We use 1.2.14 at http://www.mantisbt.org/bugs
If you have a look at some of the issues you will notice line breaks for example in description field.

Maybe I don't understand your issue, so attaching screenshots might help to understand what you mean.
Please use Search before posting and read the Manual
sandorkacso

Re: Carriage return in view mode

Post by sandorkacso »

Please see the two screens is the same issue but in different version of Mantis. I did not make any changes or setting anywhere, but I would like to have the same view as in 11, because in this way in 14 I have security breach.
Thank you.
Attachments
viewed in 1_2_14.png
viewed in 1_2_14.png (43.26 KiB) Viewed 7692 times
viewed in 1_2_11.png
viewed in 1_2_11.png (46.87 KiB) Viewed 7692 times
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Carriage return in view mode

Post by atrol »

Do you use the same database for 1.2.11 and 1.2.14?
If not, check the settings of plugin "MantisBT Formatting" for differences.

Which security breach are you talking about?
Please use Search before posting and read the Manual
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Carriage return in view mode

Post by atrol »

sandorkacso wrote: $g_allow_html_tags = OFF;
This is an obsolete option without any functionality
Please use Search before posting and read the Manual
sandorkacso

Re: Carriage return in view mode

Post by sandorkacso »

Same database for both, I still did not want to stop the 1.2.11 until I can not finish this issue.

Security breach - somebody can post a script and it will be executed like in 1.2.14 now. Only this issue is my concern now.
I had $g_allow_html_tags = OFF; in the config file. Still the same issue.
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Carriage return in view mode

Post by atrol »

sandorkacso wrote: Security breach - somebody can post a script and it will be executed like in 1.2.14 now. Only this issue is my concern now.
I am not able to reproduce this.
Can you give step by step instructions how to reproduce?
Did you check the MantisBT Formatting settings? Is "Text Processing" set to On?
Please use Search before posting and read the Manual
sandorkacso

Re: Carriage return in view mode

Post by sandorkacso »

Indeed, after I COULD NOT FIND THIS SETTINGS, I've just found out (reason at this moment is unknown) that the mantis Coreformatting folder (as plugin) it was not in place. So I took out only that plug-in and implemented properly, now everything works well.
Thanks and keep mantisbt working is a very good tool.
Post Reply