New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603348 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 543161



Sign in to add a comment

Update the URL format for sending PVer4 requests to the SafeBrowsing server

Project Member Reported by vakh@chromium.org, Apr 14 2016

Issue description

Update the URL format for sending V4 requests to the SafeBrowsing server.

Update requests:
https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application%2Fx-protobuf&$req=<request_payload>&key=<api key>

Hash requests:
https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application%2Fx-protobuf&$req=<request_payload>&key=<api key>

2. Both update and hash requests should define an additional HTTP request header:
X-HTTP-Method-Override: POST


To test, run the following command:


$ curl -o /tmp/v4_threatListUpdates.proto --header "X-HTTP-Method-Override: POST" 'https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&$req=CioKH3NhZmV0eW5ldF9zYWZlX2Jyb3dzaW5nX3VwZGF0ZXISBzc4MDEwMDAaDggBEAEiCAiAEBCAECAB&key=<my_api_key>'
 

Comment 1 by vakh@chromium.org, May 6 2016

Labels: SafeBrowsing-Triaged

Comment 2 by vakh@chromium.org, Jun 9 2016

Status: Started (was: Assigned)

Comment 3 by vakh@chromium.org, Jun 9 2016

Blocking: 543161
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 10 2016

Comment 5 by vakh@chromium.org, Jun 10 2016

Status: Fixed (was: Started)
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 15 2016

Sign in to add a comment