Option for disabling/overriding link sanitation #2440
Closed
vevsindre
started this conversation in
Feature Requests
Replies: 2 comments
-
Good idea, PR's welcome :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I seriously recommend that you explore alternatives that don't risk compromising the security of your application in favour of simplicity. You may have a hard time justifying this decision to regulatory bodies if this results in a data breach (which it absolutely will if you're not careful). If you give us some more details about what your internal links look like and how you're consuming them, we'd be happy to help explore safer solutions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since the link sanitizer uses URL protocols to validate, I've had some issues with internal links. My current implementation allows users to link to pages and elements, but since the link sanitation was introduced these links are now invalid.
My current workaround is introducing a custom scheme that I have to add to all internal links and removing it again when serializing to HTML. But it would be ideal with an option to skip/override the process entirely.
Beta Was this translation helpful? Give feedback.
All reactions