Skip to content
New issue

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

fix: 修复自定义日志无法监控空白无后缀文件 #134

Merged
merged 1 commit into from
Feb 8, 2023
Merged

fix: 修复自定义日志无法监控空白无后缀文件 #134

merged 1 commit into from
Feb 8, 2023

Conversation

wzyforgit
Copy link
Contributor

原因是在过滤非文本文件的时候,将mime type为x-zerosize的空白无后缀文件也过滤掉了
解决方法是添加过滤白名单,同时进一步过滤掉不存在的文件

Log: 修复自定义日志无法监控空白无后缀文件
Bug: https://pms.uniontech.com/bug-view-183671.html

原因是在过滤非文本文件的时候,将mime type为x-zerosize的空白无后缀文件也过滤掉了
解决方法是添加过滤白名单,同时进一步过滤掉不存在的文件

Log: 修复自定义日志无法监控空白无后缀文件
Bug: https://pms.uniontech.com/bug-view-183671.html
@wzyforgit
Copy link
Contributor Author

/review @starhcq

@github-actions github-actions bot requested a review from starhcq February 8, 2023 05:13
Copy link
Contributor

@starhcq starhcq left a comment

Choose a reason for hiding this comment

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

/+1

@starhcq starhcq merged commit 15c5bfe into linuxdeepin:master Feb 8, 2023
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