This is a bit of a weird little one, but highlights a problem with links in posts which are associated with text.
If I:
- create a data explorer query with a variable
- and assign it to a group
- visit the URL via the group’s reports tab
- add the variable and run the query
- copy the URL and add it to some text in a post
then the URL is corrupted / broken.
What I observe is:
- This is an example link thus created (private sorry):
https://ehealthforum.nz/g/HiNZ-staff/reports/128?params=%7B%22topic_id%22%3A%2234521%22%7D
- When I add this link to some text here something goes screwy with the URL encoding and we get this:
https://ehealthforum.nz/g/HiNZ-staff/reports/128?params=%257B%2522topic_id%2522%253A%252234521%2522%257D
And that beautifully breaks the site!
If I simply paste the link in the post, this doesn’t happen - it is only when I add it to text. So something goes funny when it encounters some existing encoding I think.