InvoicePlane icon indicating copy to clipboard operation
InvoicePlane copied to clipboard

add function to check post variables

Open nielsdrost7 opened this issue 4 months ago • 0 comments

Description

So when a form is posted it needs to be checked for nastiness. This function (right now in the Admin_Controller) will do that

Related Issue

To Be Determined

Motivation and Context

Whenever I post my form, i want to make sure that any nastiness like "onmouseover=alert('XSS') or something" doesn't get through, this function that I added in the Admin_Controller will make an attempt to strip out those things

Screenshots (if appropriate):

Pull Request Checklist

  • [x] My code follows the code formatting guidelines.
  • [ ] I have an issue ID for this pull request.
  • [x] I selected the corresponding branch.
  • [x] I have rebased my changes on top of the corresponding branch.

Issue Type (Please check one or more)

  • [x] Bugfix
  • [ ] Improvement of an existing Feature
  • [ ] New Feature

nielsdrost7 avatar Oct 12 '24 08:10 nielsdrost7