View Issue Details

IDProjectCategoryView StatusLast Update
0004163mantisbtotherpublic2004-08-29 02:12
Reporterhell Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.3 
Fixed in Version0.19.0rc1 
Summary0004163: Unreadable error messages in some languages
Description

When error page showed, error description is unreadable in some languages(for example 'russian')

Possible error place:
<core/error_api.php>
$t_error_description=nl2br(htmlentities($t_error_description));

Additional Information

For example, some html output:

<td class="form-title">APPLICATION ERROR 0000012</td></tr><tr><td><p class="center" style="color:red">ÎØÈÁÊÀ: Ýòîò àêêàóíò çàùèùåí. Âû íå ìîæåòå ïîëó÷èòü ê íåìó äîñòóï ïîêà çàùèòà íå áóäåò ñíÿòà.

</td></tr><tr><td><p class="center">Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

</td>

changhing line
<core/error_api.php>
$t_error_description=nl2br(htmlentities($t_error_description));

to

<core/error_api.php>
$t_error_description = nl2br(($t_error_description ));

solve problem for me

TagsNo tags attached.

Relationships

child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

vboctor

vboctor

2004-08-01 03:39

manager   ~0006518

Last edited: 2004-08-01 03:40

Reminder sent to Wanderer

Any ideas for fixing this issue? The idea is to find a fix for this one without introducing issues with other languages.

edited on: 08-01-04 03:40

Wanderer

Wanderer

2004-08-01 04:51

developer   ~0006520

Can't see any prroblem in killing htmlentities() - all 8-bit languages affected without deleting, pure 8-bit data allowed inside td, 7-bit languages will see no changes at all