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

fix: Drop redundant sanitation for Find and Replace #2598

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Dec 21, 2023

What does this PR do?

Removes sanitation step from Find and Replace API endpoint

Why?

This is now redundant following #2551 as this step is handled by Hasura in update of the flow table.

Context

Introduced in #2488 as an inital attempt at handling sanitation.

@@ -264,280 +264,4 @@ describe("string replacement", () => {
expect(res.body.error).toMatch(/Failed to find and replace/);
});
});
});

describe("HTML replacement", () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dropping this suite does not affect the percentage of test coverage, and I'll make sure it gets picked up in an E2E test that can genuinely test this.

Copy link

github-actions bot commented Dec 21, 2023

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr force-pushed the dp/drop-find-replace-sanitation branch from 4ba0226 to 4bebb99 Compare December 21, 2023 17:10
@DafyddLlyr DafyddLlyr merged commit 5193448 into main Dec 22, 2023
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/drop-find-replace-sanitation branch December 22, 2023 09:08
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