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

线上ide组件 #48

Merged
merged 24 commits into from
Nov 9, 2023
Merged

线上ide组件 #48

merged 24 commits into from
Nov 9, 2023

Conversation

1360151219
Copy link
Contributor

No description provided.

Comment on lines +44 to +47
document.getElementById('__CODE_RUN__').innerHTML = runcode.replace(
/[\n]/g,
'<br />'
);

Check warning

Code scanning / CodeQL

Client-side cross-site scripting Medium

Cross-site scripting vulnerability due to
user-provided value
.
const compileScript = document.createElement('script');
compileScript.id = CompileScriptId;
compileScript.type = 'module';
compileScript.innerHTML = `${code}`;

Check warning

Code scanning / CodeQL

Client-side cross-site scripting Medium

Cross-site scripting vulnerability due to
user-provided value
.
@1360151219 1360151219 merged commit e3e5ace into master Nov 9, 2023
2 checks passed
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