mirror of https://github.com/CIRCL/url-abuse
Post submission to EUPI, hide response if the URL is unknown.
parent
8ecea977e8
commit
2f91def106
|
@ -464,6 +464,7 @@ def eupi(url, key, q):
|
|||
r = response.get('results')[0]['tag_label']
|
||||
_cache_set(q, r, 'eupi')
|
||||
return r
|
||||
eu.post_submission(q)
|
||||
return None
|
||||
|
||||
|
||||
|
|
|
@ -206,6 +206,9 @@
|
|||
link: function(scope, element, attrs) {
|
||||
var get_response = function(jobID) {
|
||||
globFct.poller(jobID, function(data){
|
||||
if (data === "inconnu"){
|
||||
return;
|
||||
}
|
||||
scope.response = data;
|
||||
if(data === "clean"){
|
||||
scope.alert_val = "success";
|
||||
|
|
Loading…
Reference in New Issue