YorCreative / Laravel-Scrubber

A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.
MIT License
140 stars 12 forks source link

TapLoaderStrategy :construction: :bug: :hammer: :construction: #25

Closed yordadev closed 1 year ago

yordadev commented 1 year ago

The oof๐Ÿ˜จ When the TapLoaderStrategy was implemented, the load() function was not being initiated. As a result, log events were not being captured and sanitized by the Scrubber package.

Root Cause๐Ÿ•ต๐Ÿผ The root cause of the bug was a missing line of code in the boot() function of the ScrubberServiceProvider.

$this->app->make(TapLoaderStrategy::class)->load($this->app->make('config'));

๐Ÿ––๐Ÿผ