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

URL check return type: list instead of a single item #2

Open
bazi opened this issue Aug 18, 2018 · 0 comments
Open

URL check return type: list instead of a single item #2

bazi opened this issue Aug 18, 2018 · 0 comments

Comments

@bazi
Copy link
Owner

bazi commented Aug 18, 2018

Issue

URL being checked can be listed in more than one threat list. Hence, it makes sense for check method to return a list instead of a single item.

Related discussion here in a Google Safe Browsing API mailing list.

Current state

Lookup API uses the first match of the URL in the response.
Update API considers all matches and selects one with more generic effect based on platform type.

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

No branches or pull requests

1 participant