We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The regex used by the Grav\Common\Helpers\LogViewer class to parse lines from the grav.log is too greedy, which means that some log lines are not parsed as expected.
Grav\Common\Helpers\LogViewer
grav.log
For example, the following lines
[2023-02-08 05:05:03] grav.DEBUG: [IP Blacklist] Request matched filter '/\.env': 'https://cooper-davis.net/.env' [] [] [2023-02-08 05:05:03] grav.DEBUG: [IP Blacklist] IP blacklisted: '144.48.81.111' [] [] [2023-02-08 05:05:04] grav.DEBUG: [IP Blacklist] IP reported: '144.48.81.111' [] [] [2023-02-08 05:05:04] grav.DEBUG: [IP Blacklist] Request rejected: 'https://cooper-davis.net/.env' [] []
are parsed and displayed in the admin log viewer tool as
This is any easy fix; I'll submit a pull request.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The regex used by the
Grav\Common\Helpers\LogViewer
class to parse lines from thegrav.log
is too greedy, which means that some log lines are not parsed as expected.For example, the following lines
are parsed and displayed in the admin log viewer tool as
This is any easy fix; I'll submit a pull request.
The text was updated successfully, but these errors were encountered: