[Port dspace-7_x] Escape html tags in innerHTML #4737 by bram-maegerman · Pull Request #4881 · DSpace/dspace-angular · GitHub
Skip to content

[Port dspace-7_x] Escape html tags in innerHTML #4737#4881

Merged
tdonohue merged 4 commits into
DSpace:dspace-7_xfrom
atmire:backport-4737-to-dspace-7_x
Dec 8, 2025
Merged

[Port dspace-7_x] Escape html tags in innerHTML #4737#4881
tdonohue merged 4 commits into
DSpace:dspace-7_xfrom
atmire:backport-4737-to-dspace-7_x

Conversation

@bram-maegerman

Copy link
Copy Markdown
Contributor

Port of #4737 by @bram-maegerman to dspace-7_x

@tdonohue tdonohue self-requested a review December 1, 2025 15:55
@tdonohue tdonohue added bug high priority component: Item (Archived) Item display or editing labels Dec 1, 2025
@tdonohue tdonohue added this to the 7.6.6 milestone Dec 1, 2025

@tdonohue tdonohue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bram-maegerman : Thanks for this backport. I tested it today and it's mostly working well. However, I found what looks to be a few mistakes in the MyDSpace results list. Both the abstract field and the date field are not being escaped properly. So, there's a few lines of code that I believe are missing from #4737. But, please double check my analysis and try it on your end.

See inline notes below.

@bram-maegerman

bram-maegerman commented Dec 8, 2025

Copy link
Copy Markdown
Contributor Author

@tdonohue tdonohue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks @bram-maegerman ! I retested / re-reviewed this today and it's now working properly and has the same behavior as #4737

@github-project-automation github-project-automation Bot moved this from 👀 Under Review to 👍 Reviewer Approved in DSpace Maintenance (10.x, 9.x, 8.x) Dec 8, 2025
@tdonohue tdonohue merged commit ae585c3 into DSpace:dspace-7_x Dec 8, 2025
17 of 18 checks passed
@github-project-automation github-project-automation Bot moved this from 👍 Reviewer Approved to ✅ Done in DSpace Maintenance (10.x, 9.x, 8.x) Dec 8, 2025
@alexandrevryghem alexandrevryghem deleted the backport-4737-to-dspace-7_x branch December 8, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug component: Item (Archived) Item display or editing high priority

Projects

Development

Successfully merging this pull request may close these issues.

3 participants