[ 
https://jira.duraspace.org/browse/DS-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20971#action_20971
 ] 

Tim Donohue commented on DS-799:
--------------------------------

Discussion from Devel Mtg:
[20:11] <tdonohue> Next up: DS-799
[20:11] <kompewter> [ https://jira.duraspace.org/browse/DS-799 ] - [#DS-799] 
email sender fails to recognize BOM in the email template - DuraSpace JIRA
[20:12] <mdiggory> feeling a bit green... whats BOM?
[20:12] <tdonohue> not sure I fully understand this one, may need further 
investigation here
[20:12] <mdiggory> ah byte order mark
[20:12] <mhwood> Byte Order Marker. Only Microsoft uses them so far as I know. 
Has something to do with endian-ness.
[20:13] <tdonohue> any volunteer to investigate DS-799, to see if we can 
replicate this issue?
[20:13] <kompewter> [ https://jira.duraspace.org/browse/DS-799 ] - [#DS-799] 
email sender fails to recognize BOM in the email template - DuraSpace JIRA
[20:13] <sandsfish> more info? maybe the build was done on a windoze machine 
and doesn't happen on other platforms.
[20:13] <mdiggory> --> insert Microsoft Bashing here <---
[20:13] <sandsfish> Microsoft/Skype
[20:13] <sandsfish> ;)
[20:14] <mdiggory> run for your lives
[20:14] <tdonohue> Ok. hearing no volunteers for now... Ds-799 Summary: Ask for 
more info about environment. Needs a volunteer to investigate & verify.

> email sender fails to recognize BOM in the email template
> ---------------------------------------------------------
>
>                 Key: DS-799
>                 URL: https://jira.duraspace.org/browse/DS-799
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.7.0
>            Reporter: Ivan Masár
>
> I noticed, that when I received a localized email in 1.7.0, it also included 
> the first commented line. I suspected the email sender read the UTF-8 BOM and 
> since the line started with a different character than '#', it included it in 
> the message. So I removed the BOM and the comment was gone from the message. 
> Interestingly, this wasn't a problem in 1.6.0. I tested this with the 
> localized change_password email template.
> I found this: 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 
> The problematic method is getEmail() at 
> dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java:587 
> According to the bug, it won't be fixed upstream, we have to fix it in 
> DSpace. There are some suggestions in the comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to