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

Get the original input value #160

Open
Hostname47 opened this issue Feb 8, 2022 · 0 comments
Open

Get the original input value #160

Hostname47 opened this issue Feb 8, 2022 · 0 comments

Comments

@Hostname47
Copy link

Hostname47 commented Feb 8, 2022

I'm using purifier to clean some WYSIWYG inputs in my application, and at some point, I wanted to get the original value of inputs before stripping tags to validate it, and I'm wondering if this is possible.
Example :

User enter the following string : This website is really awesome <script>some malicious js code</script>
String after clean : This website is really awesome
I want to get the original string entered by the user in my controller method.

Is that possible to achieve !?

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