ME-Include of MEEP with trailing space in name cannot find attachments

Description

If a Multiexcerpt Enhanced Permissions (MEEP)macro has a name that has a trailing space then an ME-Include works for that MEEP.

However, any attachments that are in the body of the MEEP cannot be found. The space at the end of the MEEP name is lost to the AttachmentServlet used to include attachments in the body of a MEEP.

STEPS TO REPRODUCE:

  • As an admin user

  • Create a MEEP that one test user is allowed to include

    • PUT A SPACE AT THE END OF THE NAME OF THE EXCERPT

    • add an image to the body of the MEEP

  • Restrict the page that the MEEP is on so that only you (the admin) are allowed to view it

  • Include the MEEP on another page using MultiExcerpt Include

  • verify the include works for your admin user

  • use incognito browser to login as your one test user who can include the MEEP

  • access the include page and verify that the image is NOT there. Any text that you have in the MEEP renders fine, only attachments/images are missing

Freshdesk Tickets

None

Create a Support Ticket

Activity

Show:
Ture Hoefner
June 2, 2020, 12:28 AM

fixed in 5.4.4

Fixed

Assignee

Ture Hoefner

Reporter

Ture Hoefner

Labels

None

Product

None

Fix versions

Priority

Major