Repository navigation
Allow downloading good files when forbidden keywords are found - #162
Merged
Merged
Conversation
✅ Deploy Preview for preview-for-download-directory-github-io ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/9b512f9e-1651-4567-ba4a-60e9dd0d37a6 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/9b512f9e-1651-4567-ba4a-60e9dd0d37a6 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error message for malware detection on file downloads
Filter malware-keyword matches per file instead of aborting directory downloads
May 13, 2026
fregante
requested changes
May 13, 2026
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/780f5e46-5910-4542-ba0a-0ff98d6432c5 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
fregante
reviewed
May 13, 2026
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/e5e816a4-fbcd-4dfb-8edd-4f5081b39b0d Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
fregante
requested changes
May 13, 2026
Agent-Logs-Url: https://github.com/download-directory/download-directory.github.io/sessions/9ecbb57e-d860-4ef1-aad5-30cd6caaffe4 Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
fregante
marked this pull request as ready for review
May 13, 2026 09:06
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Directory downloads were being fully blocked when any matched keyword (
malware|virus|trojan) appeared, which breaks legitimate folders containing benign filenames likeMalwarebytes.icns. This change scopes blocking to individual files and continues downloading the rest.Behavior change: block only matching files
File blocked: <path>.Additional UX status update
⚠ Some files were blocked due to Google Safe Browsing.No files to download(if all files were filtered out).Implementation details
googleDoesntLikeThisinindex.ts.files = files.filter(...)and emitsupdateStatus(...)inside the filter callback.No files to downloadcheck after filtering.Compatibility with current UX