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

Gemini 2.0 Thinking Added! #70

Merged
merged 2 commits into from
Dec 24, 2024
Merged

Gemini 2.0 Thinking Added! #70

merged 2 commits into from
Dec 24, 2024

Conversation

appatalks
Copy link
Owner

See #69

const cleanedQuestion = sQuestion.replace(/<[^>]+>/g, "");

if (sQuestion.trim() == "") {
const sQuestion = document.getElementById("txtMsg").innerHTML.replace(/<br>/g, "\n").replace(/<[^>]+>/g, "").trim();

Check failure

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<script
, which may cause an HTML element injection vulnerability.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Known issue, Ill eventually figure this out.

@appatalks appatalks merged commit fcf98c3 into main Dec 24, 2024
3 of 4 checks passed
@appatalks appatalks deleted the appatalks-gemini-2-thinking branch December 24, 2024 04:11
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.

1 participant