Comments (2)
In cmd/sbserver/main.go
, it does the following check on L354:
if u.Url == "" || len(u.Hash) > 0 {
http.Error(resp, "only ThreatEntry.Url may be set", http.StatusBadRequest)
return
}
Are you passing in an empty URL? Or rather, are one of the URLs empty in that JSON file?
from safebrowsing.
I am just now seeing this block. I don't think I am passing an empty url, but the only explanation is that I am based on that block of code. I will check the URLs in the json file. Thank you for the comment.
I consider this ticket closed.
from safebrowsing.
Related Issues (20)
- How to query a historical snapshot? HOT 1
- Can you plz clarify the URL format that needs to be sent in the query? HOT 2
- Will this library be compatible with the new Web Risks API? HOT 1
- Why is the API marking Chinese cdns as unsafe while online/browser lookup aren't ? HOT 1
- project question / adding third-party threats
- Cripto
- Inconsistent Database: Threat List Mismatches HOT 7
- SafeSites URL filter - query filter?
- [email protected] HOT 1
- bnb1p5tus3kyl8euzu385pwzcj00wu7rjkpq4x5mqr
- Get the 'database is now healthy' every time.
- Please export the `safebrowing_proto` package
- I wonder what technique google safe browsing uses to update the API's list of malicious urls so that the API can detect the latest malicious urls, such as machine learning techniques? And how often is the API blacklist of malicious urls updated?
- digitalPhone issues
- Why does safe browsing remove some URLs? Then some of them re-added later on
- LookupURLs first call returns bad data
- 503 error, API outage? HOT 7
- How can I trigger a fake Malware API response from my test suites? HOT 1
- How are Multiple Encoded URIs Handled? HOT 1
- Review requests for GitHub repositories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safebrowsing.