Group Content Add/Create Paths do not work

Created on 23 April 2020, about 4 years ago
Updated 15 February 2023, over 1 year ago

Problem
When using this module with the Groups module. Adding or creating group content is impossible due to special characters used in the Group Content Enabler add and edit routes (i.e. group/{group_id}/content/create/group_media%3Afile and group/{group_id}/content/create/group_media:file)

These special characters fail a comparison between the path and the request to see if it has already been modified.

Solution
By encoding each part of the string, we can ensure that the special characters are compared correctly.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States commonColby

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024