Displaying 2 results from an estimated 2 matches for "command_public_stat".
Did you mean:
command_public_stats
2024 Jan 21
1
Public stats on beta
Good morning,
On Sun, 2024-01-21 at 10:39 +0000, TDAS wrote:
> Can anyone tell me why?/admin/publicstats?is unprotected? And how I
> go about changing that!?
>
> I don?t understand why it would be accessible by anyone without
> authenticating when it is under?/admin/???
The endpoint is meant to be a replacement for /status-json.xsl which it
deprecates.
The admin/-namespace is
2024 Jan 21
1
Public stats on beta
...uot;);
src/admin.c:#define PUBLICSTATS_RAW_REQUEST "publicstats"
src/admin.c:#define PUBLICSTATS_JSON_REQUEST "publicstats.json"
src/admin.c: { PUBLICSTATS_RAW_REQUEST, ADMINTYPE_HYBRID, ADMIN_FORMAT_RAW, ADMINSAFE_SAFE, command_public_stats, NULL},
src/admin.c: { PUBLICSTATS_JSON_REQUEST, ADMINTYPE_HYBRID, ADMIN_FORMAT_JSON, ADMINSAFE_SAFE, command_public_stats, NULL},
?but not sure if I should start messing around in ?c? files. I?m a js guy ;)
> On 21 Jan 2024, at 11:03, Philipp Schafft <...