Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts for processing data into csv/tmcf/mcf #848

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

ajaits
Copy link
Contributor

@ajaits ajaits commented Apr 5, 2023

Scripts to process input data from CSV/xls into CSVs for SVObs, with tmcf and statvar MCF.

@beets beets requested review from keyurva, pradh and shifucun September 26, 2023 17:48
self._addr = ('', http_port)
self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self._sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
self._sock.bind(self._addr)

Check warning

Code scanning / CodeQL

Binding a socket to all network interfaces Medium

'' binds a socket to all interfaces.
link = result.get('link')
if link and '/wiki/Q' in link:
url, wikidata_id = link.split('wiki/', 1)
if 'wikidata.org' in url and wikidata_id.startswith('Q'):

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

The string
wikidata.org
may be at an arbitrary position in the sanitized URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants