User input filter

Posted: July 19, 2019 at 8:32 AM Quote #242679
I've done this before but I cannot remember how or where I did it....
nopCommerce 4.20

I want to examine all user input and scan it for certain characters or character combinations. I have forgotten which piece of code that I used to parse through the user input looking for stuff.

Thanks much!

PS: advanced c# developer
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 19, 2019 at 8:46 AM Quote #242680
Are you looking for validation?

Have a look at Nop.Web.Framework/Validators
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 20, 2019 at 5:10 AM Quote #242710
Yes, that's sort of what I want. I want to examine all user input from any page and check it for opening and closing script tags. I'm working with an extremely anal pci compliance scanner who says that they are able to submit a script from user input. I know for a fact that is categorically not true. But, they fail me none the less. What I ended up doing was parking a filter on all user input and scanned for script tags. With that, I passed.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more