View Issue Details

IDProjectCategoryView StatusLast Update
0006208SOGoWeb Mailpublic2026-05-21 13:23
Reporterswallowtail Assigned Toqhivert  
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
PlatformRed Hat 9OSRHEL/CentOSOS Version9
Product Version5.12.6 
Summary0006208: Search results show corrupted HTML/CSS content
Description

Following on from https://bugs.sogo.nu/view.php?id=6200, I am still seeing incorrect presentation of HTML content on searched emails.
Attached examples - OK when the email is read in sequence in folder, Not OK when searched for and read.

Steps To Reproduce

Search for email and read.

TagsNo tags attached.

Activities

swallowtail

swallowtail

2026-05-12 05:48

reporter  

wimmer

wimmer

2026-05-14 13:50

reporter   ~0018457

I can confirm this bug in 5.12.8

obr1.png (44,173 bytes)   
obr1.png (44,173 bytes)   
bahnkonzept

bahnkonzept

2026-05-18 08:58

reporter   ~0018465

Dear SoGo-Team,

I can confirm the behaviour after the update to SoGo 5.12.9.
It would be great if this could be fixed with the next update in June, July or August 2026.

The Bahnkonzept team from Dresden/Germany

qhivert

qhivert

2026-05-18 09:08

administrator   ~0018466

Hello, the first one (with markjs= blabla) is fixed.
For the second one, what is supposed to show?

wimmer

wimmer

2026-05-18 10:00

reporter   ~0018469

The image index.png shows the correct display of the person's name in the message index.
The image filter.png shows the same message displayed as the result of the filter.
So instead of the character 'ř', ř is displayed, instead of the character 'í', &0000237 is displayed, instead of the character 'Č', Č is displayed, etc.

index.png (12,318 bytes)   
index.png (12,318 bytes)   
filter.png (16,205 bytes)   
filter.png (16,205 bytes)   
qhivert

qhivert

2026-05-19 08:02

administrator   ~0018470

Hello, I've made a fix, available tomorrow with the next nigthly

swallowtail

swallowtail

2026-05-19 12:17

reporter   ~0018472

Will that fix these (normal and search):

image.png (9,266 bytes)   
image.png (9,266 bytes)   
wimmer

wimmer

2026-05-20 06:59

reporter   ~0018473

I am compiling SOGo from source. 3 hours ago I took the source trees from
git clone https://github.com/Alinto/sope.git
git clone https://github.com/Alinto/sogo.git
I confirm that the first issue (with markjs=) is successfully fixed. The second issue with incorrectly displayed diacritical characters in civil names of persons remained unchanged. Has your fix been pushed to the git repository?
Thanks for your work.

swallowtail

swallowtail

2026-05-20 12:04

reporter   ~0018474

Appears now resolved to me with 20th may dailies.

qhivert

qhivert

2026-05-20 14:05

administrator   ~0018475

Hello @wimmer, the fix was .js only, maybe your browser didn't correctly reload the .js? Could you check this method below:
If not can you run put breakpoint in it?

the data passes as arg must be correct but is transformed after. Before my fix it was wrongly encoded in html (hence the unicode showing instead of the correct later).

fix_js.png (139,078 bytes)   
fix_js.png (139,078 bytes)   
fixjs2.png (22,780 bytes)   
fixjs2.png (22,780 bytes)   
wimmer

wimmer

2026-05-20 17:29

reporter   ~0018480

I updated my git tree now, both new Mailer.services.js and Mailer.services.js.map came inside.
After installation it works perfectly again.
Thank you for your great work, I really appreciate it.

wimmer

wimmer

2026-05-21 13:23

reporter   ~0018485

One more note - after the last edit, the search term was no longer highlighted with a yellow background.

Issue History

Date Modified Username Field Change
2026-05-12 05:48 swallowtail New Issue
2026-05-12 05:48 swallowtail File Added: Screenshot 2026-05-12 154456.png
2026-05-12 05:48 swallowtail File Added: Screenshot 2026-05-12 154038.png
2026-05-14 13:50 wimmer Note Added: 0018457
2026-05-14 13:50 wimmer File Added: obr1.png
2026-05-18 08:58 bahnkonzept Note Added: 0018465
2026-05-18 09:08 qhivert Note Added: 0018466
2026-05-18 09:08 qhivert Assigned To => qhivert
2026-05-18 09:08 qhivert Status new => feedback
2026-05-18 10:00 wimmer Note Added: 0018469
2026-05-18 10:00 wimmer File Added: index.png
2026-05-18 10:00 wimmer File Added: filter.png
2026-05-19 08:02 qhivert Note Added: 0018470
2026-05-19 12:17 swallowtail Note Added: 0018472
2026-05-19 12:17 swallowtail File Added: Screenshot 2026-05-19 221628.png
2026-05-19 12:17 swallowtail File Added: image.png
2026-05-19 12:17 swallowtail Status feedback => assigned
2026-05-20 06:59 wimmer Note Added: 0018473
2026-05-20 12:04 swallowtail Note Added: 0018474
2026-05-20 14:05 qhivert Note Added: 0018475
2026-05-20 14:05 qhivert File Added: fix_js.png
2026-05-20 14:05 qhivert File Added: fixjs2.png
2026-05-20 14:05 qhivert Status assigned => feedback
2026-05-20 17:29 wimmer Note Added: 0018480
2026-05-21 13:23 wimmer Note Added: 0018485