Heine

  • home
  • drupal
  • drupal core commits
  • about
Home › Forums › MyCaptcha › Bug reports

Contact Form looks changed

Anonymous — Thu, 21/06/2007 - 22:28

Hi, MyCaptcha is lookiing promising. Still unsure whether it might have troubles with page caching, though but that's not what this is about.
I noticed that on the normal Contact Form, there is a checkbox "send a copy to yourself".
When enabling MyCaptcha for anonymous users, this checkbox seems to have disappeared. (www.johnmartyn.info)

No votes yet
‹ most captcha implementations are case insensitive.. mycaptcha is not Clear license ›
  • Bug reports

Anonymous, send to self

Heine — Fri, 22/06/2007 - 06:27

Anonymous users never see the 'send a copy to yourself' checkbox, as it's an open invitation to spam the world. Line 473 of contact.module reads:

    // We do not allow anonymous users to send themselves a copy
    // because it can be abused to spam people.
    if ($user->uid) {
      $form['copy'] = array('#type' => 'checkbox',
        '#title' => t('Send yourself a copy.'),
      );
    }

You can confirm this by disabling MyCaptcha for the contact form, then access the form while logged out.

  • reply

Post new comment

I reserve the right to edit any comment submitted to the site. If your comment contains flaming, advertisements, or simply too many spelling errors (leet speak), it may never appear.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <as>, <as3>, <csharp>, <diff>, <drupal5>, <drupal6>, <html>, <js>, <mysql>, <php>, <phpbrief>, <python>, <sql>, <plain>, <xml>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

Recent posts

  • Using <embed> for XSS
  • Bugfix woes for Drupal 6
  • Arbitrary PHP code execution in modx 1.0.0 via CSRF
  • The #drupal consultant
  • Varnish vs. page cache graph
more

Tags

Captcha CSRF Drupal embed Input Format modx Performance PHP Pitfalls Planet Drupal Security Varnish
more tags
  • home
  • drupal
  • drupal core commits
  • about

Copyright © 2009 by Heine Deelstra. All rights reserved.