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

Incorrect preservecase #694

Open
PavelAtr opened this issue Jul 22, 2021 · 3 comments
Open

Incorrect preservecase #694

PavelAtr opened this issue Jul 22, 2021 · 3 comments

Comments

@PavelAtr
Copy link

With the parameters of the config file
phrasefiltermode = 1 (smart only)
preservecase = 2
in NaughtyFilter.cpp there is no second loop pass for
preserve_case = true

@PavelAtr
Copy link
Author

    if (!do_raw) {
        delete[] bodylc;
        delete[] bodynohtml;
        if (hexdecoded != rawbody)
            delete[] hexdecoded;
        return; // only doing nohtml mode filtering !!!!!!!!!!! RETURN
    } else {

@PavelAtr
Copy link
Author

Possible patch:
preservecase.patch.txt

@PavelAtr
Copy link
Author

Possible patch corrected:
preservecase.patch.txt

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

No branches or pull requests

1 participant