6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12127] utf-16 encoded text files MIME part header broken
*
Your Email Address
*
Spam protection
Enter the letters below:
__.. . .. ..___. (__ |_/ ||\ | _/ .__)| \\__|| \|./__.
Comment
>> Those headers should never ever contain NUL bytes >> nor 8-bit data of any kind. That is the key problem. (This bug is not >> about the difficulties detecting the correct charset). > > But this is still potentially an issue similar to what I described. > For example: the browser may send UTF-16 as the charset, but the PHP > conversion methods mishandle it since that is NOT the charset that > the text really is. And/or the fact that PHP string conversion > methods are known to be buggy with UTF16LE (i.e. iconv() on certain > systems). > > At a minimum, I need an example file that triggers this behavior. > Might want to zip/tgz before adding to the ticket to prevent the data > from being munged. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers