fix: restrict and validate url for widgets (#480)

This commit is contained in:
Fine0830
2025-07-17 10:41:15 +08:00
committed by GitHub
parent 5d311a41a2
commit 1421f95ad3
3 changed files with 86 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ limitations under the License. -->
height="100%"
scrolling="no"
style="border: none"
sandbox="allow-scripts allow-same-origin allow-forms allow-popups"
referrerpolicy="no-referrer"
></iframe>
<div v-else class="tips">{{ t("iframeWidgetTip") }}</div>
</div>