8000 Sanitize the content received from the relay by dangershony · Pull Request #373 · block-core/angor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sanitize the content received from the relay #373

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

Merged
merged 2 commits into from
May 14, 2025
Merged

Conversation

dangershony
Copy link
Member

No description provided.

@@ -15,6 +16,7 @@ public class MessageService : IMessageService
private readonly INetworkService _networkService;
private readonly IRelayService _relayService;
private readonly NostrConversionHelper _nostrHelper;
private readonly HtmlSanitizer _sanitizer;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be wrapped in an interface so we can replace it if we want to

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I agree

@dangershony dangershony merged commit ba3d0e1 into main May 14, 2025
3 checks passed
@dangershony dangershony deleted the add-sanitasion branch May 14, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0