mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
(Stuart Lewis) Fix for SF bug [2343281] XHTML Head Dissimination Crosswalk exposes provenance info
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3323 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -233,6 +233,9 @@ public class XHTMLHeadDisseminationCrosswalk extends SelfNamedPlugin implements
|
|||||||
name = names.get(key);
|
name = names.get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do not include description.provenance
|
||||||
|
boolean provenance = "description".equals(v.element) && "provenance".equals(v.qualifier);
|
||||||
|
|
||||||
if (name == null)
|
if (name == null)
|
||||||
{
|
{
|
||||||
// Most of the time, in this crosswalk, an unrecognised
|
// Most of the time, in this crosswalk, an unrecognised
|
||||||
@@ -244,7 +247,7 @@ public class XHTMLHeadDisseminationCrosswalk extends SelfNamedPlugin implements
|
|||||||
: handle) + " field " + originalKey);
|
: handle) + " field " + originalKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (provenance != true)
|
||||||
{
|
{
|
||||||
Element e = new Element("meta", XHTML_NAMESPACE);
|
Element e = new Element("meta", XHTML_NAMESPACE);
|
||||||
e.setAttribute("name", name);
|
e.setAttribute("name", name);
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
- [2057231] Refactor LDAPServlet to use Stackable Authentication
|
- [2057231] Refactor LDAPServlet to use Stackable Authentication
|
||||||
- Enable ldap.login.specialgroup special group for all LDAP users
|
- Enable ldap.login.specialgroup special group for all LDAP users
|
||||||
- Fix for SF bug [2164955] DSpace1.5.1(XML) problem with Login to restricted bitstreams
|
- Fix for SF bug [2164955] DSpace1.5.1(XML) problem with Login to restricted bitstreams
|
||||||
|
- Fix for SF bug [2343281] XHTML Head Dissimination Crosswalk exposes provenance info
|
||||||
|
|
||||||
(Stuart Lewis / Chris Yates / Flavio Botelho / Alex Barbieri / Reuben Pasquini)
|
(Stuart Lewis / Chris Yates / Flavio Botelho / Alex Barbieri / Reuben Pasquini)
|
||||||
- [2057378] Hierarchical LDAP support
|
- [2057378] Hierarchical LDAP support
|
||||||
|
Reference in New Issue
Block a user