New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trash manager grid resource title not correctly escaped #14338

Open
travisbotello opened this Issue Feb 6, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@travisbotello
Copy link
Contributor

travisbotello commented Feb 6, 2019

Bug report

Summary

Using script tag inside content field of a deleted resource causing resource's title in trash manager grid being messed up.

Step to reproduce

  • Create a resource with pagetitle test and content like this:
<script>
var test = "test";
</script>
  • Delete this resource
  • Switch to trash manager

Observed behavior

In grid you will see the resource's title being rendered ">Test and tooltip content preview var test =

Expected behavior

Resource's title in the grid shouldn't be messed up by content.

Environment

MODX 2.7.0 advanced

@Alroniks Alroniks self-assigned this Feb 7, 2019

@Alroniks Alroniks added this to the v2.7.1 milestone Feb 7, 2019

@Alroniks Alroniks modified the milestones: v2.7.1, v2.7.2 Feb 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment