- Some protection in extract-definition

- Up version
This commit is contained in:
Cyber MacGeddon 2024-07-25 22:44:51 +01:00
parent 354e95cb1c
commit 4bc215e19a
7 changed files with 54 additions and 45 deletions

View file

@ -111,6 +111,10 @@ class Processor(ConsumerProducer):
p = rel["predicate"]
o = rel["object"]
if s == "": continue
if p == "": continue
if o == "": continue
s_uri = self.to_uri(s)
s_value = Value(value=str(s_uri), is_uri=True)