ElkArte Community

Elk Development => Bug Reports => Topic started by: emanuele on June 18, 2022, 05:58:32 am

Title: Groups access
Post by: emanuele on June 18, 2022, 05:58:32 am
In the admin panel, if I click on "global moderators" or "administrator" I get this screen:
https://imgur.com/OO6qRnH
Title: Re: Groups access
Post by: emanuele on June 18, 2022, 06:55:39 am
Oh, okay the link is broken:
Code: [Select]
index.php?action=admin;area=membergroups;sa=members;group=$d
the $d is not replace with the number of the group.
Title: Re: Groups access
Post by: Spuds on June 18, 2022, 08:20:01 am
That is a classis getURL() issue.  
Title: Re: Groups access
Post by: emanuele on June 18, 2022, 04:02:35 pm
I pushed a fix earlier:
https://github.com/elkarte/Elkarte/pull/3639/commits/dc06782859674a207ac4f044331bbaec603547db
looks like getUrl does some URL encode of %s and so it breaks sprintf.
To be honest, though, I'm not even sure why certain pieces were passed the way they were.
Title: Re: Groups access
Post by: Spuds on June 18, 2022, 04:57:51 pm
Probably was me .. I moved a bunch of those over, but it was a mind numbing task so I'm sure I got sloppy ... plus a fair amount of changes were done with search replace regex action, so there is that as well.
Title: Re: Groups access
Post by: emanuele on June 19, 2022, 10:19:05 am
oh I thought it was my doing. :laughing: