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.7.2, 1.6.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:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, 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-novd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel