-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"õ" =~ EXTRACT_FIELD_NAME_RE yields error #1
Comments
Hi, can you provide a concrete test case containing the actual header that causes the issue? |
I might have been to fast with this issue. |
Test message and tests for sup that currently fail are here: sup-heliotrope/sup#214 |
An incorrect fix is here: sup-heliotrope#3 |
I tried feeding those messages to rmail and they are handled without issue, because rmail will not try to parse them. Even properly quoted non-ascii header values are returned as is with no parsing. However the unquoted utf-8/latin1 data in header values will come back encoded as In short, this does not look like something that can be fixed in rmail without breaking its API. |
What about using the constants from here? https://github.com/mikel/mail/blob/dc0f89bb33722ec1e6fa404a34055fe6e0189651/lib/mail/constants.rb |
This is quite an annoying bug. :-( |
For sup-heliotrope/sup#205 the proposed fix was gauteh@2ee5086. The equivalent is yet incorporated on this fork.
The text was updated successfully, but these errors were encountered: