On the Dangerous tags in content page:
eng/admin/reports/security-review/help/security_review/field

I get a report of:
"PHP found in"

After the Javascript pages that is incomplete.

I also know there is PHP in a few Views (maybe not in the pages, but certainly in Views) and it isn't being displayed?

Where is this script checking for PHP? It can now be hidden away in so many places.

CommentFileSizeAuthor
#14 security-review.png10.61 KBsah62

Comments

coltrane’s picture

Status: Active » Closed (works as designed)

It's only check fields that are stored in SQL so Views aren't checked. Further checks are welcome tho.

mgifford’s picture

Ok.. Might want to add a sentence like that to the bottom of the review to let folks know that it isn't a bug.

coltrane’s picture

Status: Closed (works as designed) » Active

I'm not clear from your original report what you're saying is a bug. Was it that it doesn't list Views?

The text could probably be improved, sure.

mgifford’s picture

I just saw "PHP found in"

And then the page ended.

If I saw nothing then I wouldn't think there was a problem. As it was though I assumed that it failed as I knew there was php in a View.

coltrane’s picture

Title: "PHP found in" » Check details page says "PHP found in" but no content is listed below it

Ah, ok, I wasn't clear about that. That does sound like a bug, thanks for the clarification. I'll investigate.

coltrane’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

mgifford, when you have a chance can you test with 7.x-1.x-dev and see if the error still appears?

mgifford’s picture

The review didn't get further than: batch?op=start&id=6

Didn't get a WSOD, but nothing appeared visually under Performing Security Review and although <div id="progress"></div> </div> was there, it never was populated. Didn't see any errors either.

Was a bit tricky to find the dev release, but got there eventually. Why not list it on the Project page?

coltrane’s picture

@mgifford does 7.x-1.x-dev complete a review?

mgifford’s picture

Sorry, I don't see it here https://drupal.org/node/622676/release

coltrane’s picture

mgifford’s picture

Status: Active » Postponed

I'm not sure. That's from 2010!

Also, I couldn't test it here http://simplytest.me/project/security_review

I'm going to mark this as postponed as I don't have that environment any more and it's going to take too long to re-create.

coltrane’s picture

@mgifford Just so you're aware about drupal.org project releases. There's a release node that's associated with a packaged tarball of a tag or branch of the underlying repository, and the dates of those "things" don't have to be the same. That release has a node with a created date of 2010, but the way the drupal.org packaging system works is that because it's a release node against a branch the system will update its packaged tarball whenever there are commits. The tarball has been updated many times since 2010 ;) Here's an image illustrating where it says the release update is http://monosnap.com/image/Le7m0FSShhxJDHEdE36NKUMR5

Great point about testing on simplytest.me!

mgifford’s picture

Damn.. Good to hear that it's much more active than it looked.

sah62’s picture

Issue summary: View changes
StatusFileSize
new10.61 KB

I'm experiencing this same issue. I had some PHP in a node, it was correctly detected. I removed the PHP, re-ran the review, and I'm still getting the warning - but there's no content listed (see attached image). I get the same behavior with both 7.x-1.1 and 7.x-1.x-dev.

sah62’s picture

Please ignore #14. I just realized that I was looking at results without having first re-run the review. After re-running the review the warning went away.

coltrane’s picture

Status: Postponed » Closed (works as designed)

Re-reading through this I don't see anything requiring any action. Please re-open or create a new issue if there's something I've missed.