Skip to content

Password is readable from container, but not from parameter #426

@janbarasek

Description

@janbarasek

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):

Snímek obrazovky 2020-07-01 v 15 54 37

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions