We should add some kind of validation for the meta tags. This seems to be a pretty common error that people don't know exactly what to put into the field.

Members fund testing for the Drupal project. Drupal Association Learn more


mgifford’s picture

Duplicate of #1435902: Verification META tag appeard on page but marked as original.

lathan’s picture

here is a patch to do this.

lathan’s picture

Status: Active » Needs review
lathan’s picture

cross linking this as i need this patch and it conflicts with another issue #696436: Use File API and file_transfer()

joachim’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: -Security improvements
1.75 KB

Is this an actual PHP operator I've never heard of, or a typo:

  if ($metas->length <! 0) {
    return FALSE;

This is why I like comments even for small statements like this, eg, // Validation fails if yadayada.

Here's an updated patch with comment and UI string fixes.