oasis-open / cti-stix-common-objects

OASIS Cyber Threat Intelligence (CTI) TC: A repository for commonly used STIX objects in order to avoid needless duplication. https://github.com/oasis-open/cti-stix-common-objects
BSD 3-Clause "New" or "Revised" License
84 stars 37 forks source link

extra spaces in extension-definition #9

Closed lisch closed 3 years ago

lisch commented 3 years ago

In extension-definition--3a65884d-005a-4290-8335-cb2d778a83ce.json, the value of the id property contains a leading and trailing space character. As a result, stix2.FileSystemSource raises an exception, reporting an invalid id.

rpiazza commented 3 years ago

@lisch

Thanks for catching that. It is now fixed in the main branch

lisch commented 3 years ago

The leading space has been deleted, but the trailing space remains. As a result, stix2.FileSystemSource still raises an exception.

rpiazza commented 3 years ago

:-(.

Fixed in main branch