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

runtime-dom.esm-bundler.js 不安全问题 #9305

Closed
live-in-a-dream opened this issue Sep 27, 2023 · 2 comments
Closed

runtime-dom.esm-bundler.js 不安全问题 #9305

live-in-a-dream opened this issue Sep 27, 2023 · 2 comments

Comments

@live-in-a-dream
Copy link

Vue version

3.3.4

Link to minimal reproduction

runtime-dom.esm-bundler.js

Steps to reproduce

runtime-dom.esm-bundler.js
1430 line
container.innerHTML = "";

What is expected?

while (container.firstChild) {
container.removeChild(container.firstChild);
}

What is actually happening?

Uncaught TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment.
This document requires 'TrustedHTML' assignment.

System Info

No response

Any additional comments?

No response

@Disservin
Copy link
Contributor

Link to minimal reproduction
runtime-dom.esm-bundler.js

This is no reproduction.

@edison1105
Copy link
Member

please provide a runnable reproduction next time.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants