Skip to content

Commit

Permalink
Update security.mdx, remove repeated word "enables" (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
fajaralfa authored Feb 26, 2025
1 parent 2c5de7f commit f246c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/solid-start/guides/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Security
---

As a non-opinionated framework, SolidStart doesn't enforce any security practices, though it enables enables developers to implement them as needed.
As a non-opinionated framework, SolidStart doesn't enforce any security practices, though it enables developers to implement them as needed.
It is important to know what are the requirements for your own app and implement the fitting security measures.
If at any point you are unsure about the security of your app, or how to achieve something within the constraints of SolidStart reach us on [Discord](https://discord.gg/solidjs).

Expand Down Expand Up @@ -33,4 +33,4 @@ The exception is when HTML is inserted via the `innerHTML` property, which bypas
Additionally, it's important to note that `<noscript>` are also outside of the purview of SolidStart, since those tags and its contents are evaluated even without JavaScript.
It is important to sanitize any strings in attributes, especially when inside `<noscript>` tags.

As a rule-of-thumb it is recommended to avoid injecting HTML into your page as much as possible, make sure the contents of `<noscript>` are properly sanitized, and add a strict Content Security Policy to your application.
As a rule-of-thumb it is recommended to avoid injecting HTML into your page as much as possible, make sure the contents of `<noscript>` are properly sanitized, and add a strict Content Security Policy to your application.

0 comments on commit f246c76

Please sign in to comment.