tracy
tracy copied to clipboard
Password is readable from container, but not from parameter
Version: 2.7.5
Bug Description
In case of generated Nette Container with password in service (Nette Context) I can read password from source code but I think this password should be hidden (like in parameters):

Steps To Reproduce
See your callstack to Nette Context.
Expected Behavior
String parameter with can be hidden in source code.
Possible Solution
I think it can be solved by replacing string '<password>' or "<password>" with real password from parameter.
I can send PR if this suggestion make sense.
Thanks.
Ok, try to send PR.
I think instead of this:

Tracy can support comment annotation for ignoring password part:

What do you think about?
I guess that's the way to do it.
Please consider extensions from user-land.