I am concerned with random exception messages being revealed in the details field by default.
For example, today I've met Symfony's exception was thrown by internal logic of Translations engine with the text Unable to write to the "/var/task/var/cache/lambda/translations" directory. which reveals the internal structure of the project (and the fact project uses Symfony) which could be considered as a security breach.
My proposition is to not show exception's message in details field by default in production environment.
I am concerned with random exception messages being revealed in the details field by default.
For example, today I've met Symfony's exception was thrown by internal logic of Translations engine with the text
Unable to write to the "/var/task/var/cache/lambda/translations" directory.which reveals the internal structure of the project (and the fact project uses Symfony) which could be considered as a security breach.My proposition is to not show exception's message in
detailsfield by default in production environment.