[ http://jira.dspace.org/jira/browse/DS-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kim Shepherd updated DS-121: ---------------------------- Attachment: DS-121_xmlui_feedback_form_multiple_hostnames.patch A small patch is attached that builds on Tim's work in DS-86 -- this patch adds a new dspace.cfg parameter (mail.allowed.referrers) which is a comma separated list of valid hostnames that may refer to the feedback form. For example, if your dspace.hostname is drc.sscc.edu but you need drcsscc.ohiolink.edu to work with the feedback form, you would use: mail.allowed.referrers = drcsscc.ohiolink.edu Note that I've used "referrer" in my code, config and comments, not the common HTTP misspelling "referer" except when necessary. If this patch works well, I will port it to JSPUI and apply it to other email forms used in DSpace. > XMLUI Feedback form breaks with multiple hostnames > -------------------------------------------------- > > Key: DS-121 > URL: http://jira.dspace.org/jira/browse/DS-121 > Project: DSpace 1.x > Issue Type: Bug > Components: JSPUI, XMLUI > Affects Versions: 1.5.2 > Reporter: Keith Gilbertson > Priority: Trivial > Attachments: DS-121_xmlui_feedback_form_multiple_hostnames.patch > > > The xmlui feedback form breaks when an alternate hostname (differing from > that named in dspace.cfg) is used to access the website, giving the following > error: > org.dspace.authorize.AuthorizeException > at org.dspace.app.xmlui.aspect.artifactbrowser.SendFeedbackAction.act > (SendFeedbackAction.java:103) > We have some installations of DSpace with multiple hostnames, for example, > drc.sscc.edu is also known as drcsscc.ohiolink.edu. This issue will probably > not occur often in practice for us because in most cases only one of the > hostnames is officially communicated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel