Skip to content

Add AbpHtmlSanitizerMiddleware #7019

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

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

Add AbpHtmlSanitizerMiddleware #7019

wants to merge 8 commits into from

Conversation

m-aliozkaya
Copy link
Member

@m-aliozkaya m-aliozkaya commented Sep 9, 2024

Closes #6750

AbpHtmlSanitizerMiddleware must be placed after Routing middleware, so we should provide this info in the documentation;

app.UseRouting();
app.UseAbpHtmlSanitizer(); //Sanitize HTML inputs

@ismcagdas ismcagdas added this to the v10.0 milestone Sep 10, 2024
Copy link
Member

@ismcagdas ismcagdas left a comment

Choose a reason for hiding this comment

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

  • Review source code to increase common code usage
  • DisableHtmlSanitizer attribute seems to be not working. One unit test is failing for now.

@ismcagdas ismcagdas modified the milestones: v10.0, v10.1 Nov 18, 2024
@ismcagdas ismcagdas modified the milestones: v10.1, v10.2 Feb 21, 2025
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.

Abp.Sanitizer can cause a model binding validation bypass
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy