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

Ivan Masár commented on DS-799:
-------------------------------

> Ask for more info about environment. Needs a volunteer to investigate & 
> verify.

Well, I might have edited the text file under Windows. I don't think it's 
important how it got there - Unicode defines it may be there, so DSpace should 
handle it. The link I provided gives more details about why and how.

> 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