##// END OF EJS Templates
fix(git-lfs): fixed security problem with allowing off-chain attacks to replace OID data without validating hash for already present oids....
fix(git-lfs): fixed security problem with allowing off-chain attacks to replace OID data without validating hash for already present oids. - Fixes RCCE-141

File last commit:

r1250:2c57bb5b default
r1300:a680a605 default
Show More
ext_json.py
14 lines | 294 B | text/x-python | PythonLexer
import json as stdlib_json
try:
# we keep simplejson for having dump functionality still
# orjson doesn't support it
import simplejson as sjson
except ImportError:
sjson = stdlib_json
try:
import orjson
import orjson as json
except ImportError:
json = stdlib_json