Enhance security by adding role-checking functions in ESLint configuration and updating Vue components to improve content sanitization comments, while refining error handling in API endpoints for better clarity.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m40s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m40s
This commit is contained in:
@@ -166,9 +166,10 @@
|
||||
Keine Empfänger gefunden
|
||||
</span>
|
||||
</div>
|
||||
<!-- nosemgrep: javascript.vue.security.audit.xss.templates.avoid-v-html -->
|
||||
<div
|
||||
class="text-sm text-gray-600 prose prose-sm max-w-none mb-3"
|
||||
v-html="useSanitizeHtml(post.content.substring(0, 200) + (post.content.length > 200 ? '...' : ''))" <!-- nosemgrep: javascript.vue.security.audit.xss.templates.avoid-v-html -->
|
||||
v-html="useSanitizeHtml(post.content.substring(0, 200) + (post.content.length > 200 ? '...' : ''))"
|
||||
/>
|
||||
|
||||
<!-- Empfängerliste (collapsible) -->
|
||||
|
||||
Reference in New Issue
Block a user