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

update API to rest framework #34

Merged
merged 16 commits into from
Jun 23, 2024
Merged

update API to rest framework #34

merged 16 commits into from
Jun 23, 2024

Conversation

SteveKueng
Copy link
Owner

No description provided.

Comment on lines +431 to +433
return Response({'result': 'failed',
'exception_type': str(type(err)),
'detail': str(err)})

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Comment on lines +552 to +554
return Response({'result': 'failed',
'exception_type': str(type(err)),
'detail': str(err)})

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Comment on lines +560 to +562
return Response({'result': 'failed',
'exception_type': str(type(err)),
'detail': str(err)})

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Comment on lines +630 to +632
return Response({'result': 'failed',
'exception_type': str(type(err)),
'detail': str(err)})

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Comment on lines +711 to +713
return Response({'result': 'failed',
'exception_type': str(type(err)),
'detail': str(err)})

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
response['Content-Length'] = os.path.getsize(fullpath)
item,
content_type=mimetypes.guess_type(item)[0])
response['Content-Length'] = os.path.getsize(item)

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
@SteveKueng SteveKueng merged commit bf5d909 into main Jun 23, 2024
2 of 3 checks passed
@SteveKueng SteveKueng deleted the azure_app branch June 23, 2024 20:21
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.

None yet

1 participant