Here is a patch which fixes most of them.
They were mostly issues like "string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms" and constants being in lower case FALSE, TRUE, NULL etc... There are a few i didn't fix like "global variables should start with a single underscore followed by the module and another underscore" and "the use of REQUEST_URI is prone to XSS exploits and does not work on IIS; use request_uri() instead" as i was un-sure what other things it may affect. So it may be worth while for someone more familiar with the inner workings of the module to give it a once over.
Note : this patch is untested.
| Comment | File | Size | Author |
|---|---|---|---|
| provision_coder.patch | 50.94 KB | a_c_m |
Comments
Comment #1
adrian commentedThanks for the patch. I've committed an updated version.
The request_uri() is a lame duck, since we are SETTING the uri, not returning it, and we only work on unix based systems.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.