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

CharlieKC/issue3 #19

Merged
merged 5 commits into from
Oct 2, 2023
Merged

CharlieKC/issue3 #19

merged 5 commits into from
Oct 2, 2023

Conversation

CharlieKC
Copy link
Owner

Adding precommit

The commit adds an endpoint to the views.py file that lists the user conversations. This functionality is protected with login authentication.
@CharlieKC CharlieKC merged commit ffdc4d4 into main Oct 2, 2023
2 checks passed
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

Check warning

Code scanning / CodeQL

Inclusion of functionality from an untrusted source Medium

Script loaded from content delivery network with no integrity check.
$("#chat-box").append(message);
// const message = `<div class="chat chat-${left_or_right}"><div class="chat-header mx-1">${who}</div><div class="chat-bubble chat-bubble-${color}">${text}</div></div>`;
const message = `<div class="chat chat-${left_or_right}"><div class="chat-header mx-1">${who}</div><div class="chat-bubble chat-bubble-${color}">${text}</div></div>`;
$("#chat-box").append(message);

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
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