Skip to content
Snippets Groups Projects
Commit ff1d8b9e authored by Jared Hancock's avatar Jared Hancock
Browse files

Implement simple CSRF protection scheme

Protect againts cross-site request forgery attacks by requiring a special
form-field or header to be sent with requests that modify ticket system
data.

This meant a slight change to the AJAX ticket locking mechanism. It was
defined to lock with a GET request; however, GET requests are defined as
safe methods and should not modify backend data (such as a lock
acquisition). Therefore, the the lock acquire AJAX method was changed to
require a POST method.

Also remove old, no-longer-used staff panel include files
parent 03a84301
No related branches found
No related tags found
No related merge requests found
Showing
with 109 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment