andersao / andersao/laravel-request-logger

Bug in ResponseLoggerMiddleware.php

Đang mở
#5 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
240
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

As per the documentation the config file doesn't hold a config variable 'exclude', so it was throwing error in the foreach statement

```
$exclude = config('request-logger.exclude');
if($exclude){ //Added an if , if an exclude is coming as null so that error was not thrown
foreach($exclude as $path) {
if($request->is($path)) return true;
}
}
return false;
```

Please fix it.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.