Skip to content

Conversation

mhanoglu
Copy link

@mhanoglu mhanoglu commented Feb 6, 2019

If URL endwith .log, many servers don't allow this request for security.

Example: Not working with IIS 7.5 server

@@ -40,7 +40,7 @@ public function tail($file, Request $request)
{
$offset = $request->get('offset');

$viewer = new LogViewer($file);
$viewer = new LogViewer($file.".log");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you already add .log in LogViewer::getFilePath(), this line may cause laravel.log.log issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants