PAWECOGmbH/saaster

reinit parameter has no visible effect without sysadmin login

Aberta

#712 aberto em 25 de jan. de 2026

 (0 comentário) (0 reação) (0 responsável)ColdFusion (7 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (36 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

In Application.cfc there is a mechanism to reinitialize the application scope using the reinit URL parameter.

When using the reinit URL parameter in Application.cfc without being logged in as sysadmin, the application scope is not reinitialized and no feedback is given. This is confusing during development, because code changes in scoped functions appear to be ignored and it is not obvious that the reinit was blocked due to missing permissions.

Solution: } else if (structKeyExists(url, "reinit")) { writeOutput("Unauthorized reinit attempt by IP " & session.usersIP); structDelete(url, "reinit"); abort; }

Guia do colaborador