6.0.0-alpha10
5/14/25

[#14963] Special Slovenian characters break filters
Summary Special Slovenian characters break filters
Queue Ingo
Queue Version FRAMEWORK_5_2
Type Bug
State Feedback
Priority 1. Low
Owners
Requester deni (at) guru (dot) si
Created 11/13/2019 (2009 days ago)
Due
Updated 11/13/2019 (2009 days ago)
Assigned 11/13/2019 (2009 days ago)
Resolved
Milestone
Patch No

History
11/13/2019 02:07:46 PM deni (at) guru (dot) si Comment #7 Reply to this comment
Content-Type: text/html; charset=iso-8859-1
Is this what the server returns in the reponse headers when using 
Ingo? This is wrong, we only support UTF-8 for input and output 
since ages. Are you sure you are using a recent Ingo version?
Ah, sorry, was to quick on response and simply curl-ed the main page...

I have checked in browser and it is in fact UTF-8:

Content-Type: text/html; charset=UTF-8
11/13/2019 02:02:20 PM Jan Schneider Comment #6
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
Content-Type: text/html; charset=iso-8859-1
Is this what the server returns in the reponse headers when using 
Ingo? This is wrong, we only support UTF-8 for input and output since 
ages. Are you sure you are using a recent Ingo version?
11/13/2019 01:07:13 PM deni (at) guru (dot) si Comment #5 Reply to this comment
Works fine here: ?, ?, ?, ?, ?, ?
Apparently not. I can create rules with these characters though and 
they show up fine in the filterrules too. What is the default 
characterset of your webserver?
Hmm

Content-Type: text/html; charset=iso-8859-1

MariaDB has utf8, php.ini has utf8.

Is it possible to change the charset in Horde somewhere, or are we 
better to fix it globally/locally for this virtualhost?
11/13/2019 12:22:31 PM build+horde (at) de-korte (dot) org Comment #4 Reply to this comment
Works fine here: ?, ?, ?, ?, ?, ?
Apparently not. I can create rules with these characters though and 
they show up fine in the filterrules too. What is the default 
characterset of your webserver?
11/13/2019 12:20:54 PM build+horde (at) de-korte (dot) org Comment #3 Reply to this comment
Works fine here: ?, ?, ?, ?, ?, ?
11/13/2019 08:31:06 AM deni (at) guru (dot) si Comment #2 Reply to this comment

[Show Quoted Text - 29 lines]
Looks like this site also encodes special Slovenian characters to ?????...

11/13/2019 08:26:21 AM deni (at) guru (dot) si Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Special Slovenian characters break filters
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi!

We have a problem on our Horde install, with filters containing 
Slovenian characters (????).

Basically, if one uses special character in comparator, file name, or 
filter name, Horde/Ingo does not save it as intended.

When looking at ingo.script file of the user, this is what we get:

- If the filter name is "?", ingo saves the name of the filter as "?"
- If comparator is containing "?", ingo saves it to the file ok, but 
web interface displays empty comparator
- We have tried to enable utf8 in /etc/horde/ingo/backends.php, but 
only change that happens is that "fileinto" (filename is "?-test"), 
goes from "fileinto "INBOX/?-test";" to "fileinto "INBOX/&AQ0--test";"


As filters with special characters are not displayed as they should be 
inside the web filter editor, when you try to delete a filter, it 
deletes one before that and breaks the whole filterlist, after you try 
to delete all of them, user ends up with broken list containing only 
one filter that can't be opened.

If anyone can check this out, it would be highly appreciated.

Best regards, Deni


Saved Queries