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

Bram Luyten (@mire) commented on DS-1089:
-----------------------------------------

Very straightforward bugfix.

created a pull request:
https://github.com/DSpace/DSpace/pull/193
                
> Feedback form breaks when hostname is short
> -------------------------------------------
>
>                 Key: DS-1089
>                 URL: https://jira.duraspace.org/browse/DS-1089
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.6.2, 1.7.2
>            Reporter: Ryan Scherle
>         Attachments: multiple_dots_patch.diff
>
>
> When the hostname only contains a single period (e.g.  myrepository.com), the 
> feedback form produces a StringIndexOutOfBoundsException. This is caused by 
> SendFeedbackAction.java calling substring() twice without checking 
> intermediate results.  
> See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to