Skip to content

Commit bbc32da

Browse files
committed
Fix security issues
1 parent 186047c commit bbc32da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/REDCAP-FITBIT-AUTH-AUTO/redcap-fitbit-auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def format_file_name(name, extension):
149149

150150
def register_users():
151151
with open("config.yml", "r") as fi:
152-
config = yaml.load(fi)
152+
config = yaml.load(fi, Loader=yaml.SafeLoader)
153153

154154
output_data_dict = []
155155
# to generalize the storeage replace this getRedcapRecords with any

scripts/REDCAP-FITBIT-AUTH-AUTO/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ certifi==2018.10.15
22
chardet==3.0.4
33
idna==2.7
44
PyCap==1.0.2
5-
PyYAML==3.13
6-
requests==2.20.0
5+
PyYAML==5.1.1
6+
requests==2.22.0
77
selenium==3.14.1
88
semantic-version==2.3.1
9-
urllib3==1.24
9+
urllib3==1.25.3

0 commit comments

Comments
 (0)