Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
XSS fixes in library/custom_template/ #2157
Clean up XSS prevention in scripts in library/custom_template/ directory:
referenced this issue
Feb 4, 2019
@bradymiller @danehrlich1 I am commited a few updates. I just needed to confirm that some of the ajax request are not sending html I need to append to the DOM? I tried testing it with postman, but not great with php, so having a hard time finding the server code sending the response object?. I also cleaned up a little syntax. also I noticed on travis CI we are building 7.2 twice and was just curious why that was ?
hi @joshuaaguilar20 ,
Just send us codebase links to the ajax queries your looking at, and we can walk you through them.
That second 7.2 (lint_style) is doing a psr2 check (well, at least a partial psr2 check: https://github.com/openemr/openemr/blob/master/ci/phpcs.xml#L5-L14 )