Skip to content
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

Resolve HTML module bug with invalid HTML #5188

Merged
merged 3 commits into from
Jul 19, 2022

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Jul 12, 2022

Fixes #5187

This PR adds a new DotNetNuke.Tests.Modules project with tests for HtmlTextController.ManageRelativePaths. It resolves the linked issue and also refactors that function to clean up and clarify its implementation.

Create overload without unused parameter
Give variables more meaningful names
Use StringComparison everywhere possible
@bdukes bdukes added this to the 9.10.3 milestone Jul 12, 2022
@bdukes bdukes changed the title Html module tests Resolve HTML module bug with invalid HTML Jul 12, 2022
Copy link
Contributor

@donker donker left a comment

Choose a reason for hiding this comment

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

Thanks

@donker donker merged commit 61bacf0 into dnnsoftware:develop Jul 19, 2022
@bdukes bdukes deleted the html-module-tests branch July 25, 2022 22:26
@valadas valadas modified the milestones: 9.10.3, 9.11.0 Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTML with invalid src attribute can cause HTML module to crash
4 participants