Security token for vbpolls module

Hotfix!

In a recent update of vBulletin an extra security measurement was added to forms. This security measurement broke the vbpolls module. This hotfix adds the security token to the poll form.

Problem description:

Forms in vBulletin now contain a field security token which contains a random number to validate the form was submitted by the currently visiting user. A similar construction is also used by Drupal. The form field was simply not included in the form created by vbpolls.

Applies to version:

5.7.0

Instructions:

Download the attached file and overwrite the vbpolls.module file in drupal/moudles/vbpolls

« Download »

Can't this be done more generally in /drupal/includes/form.inc ?

See http://www.vbdrupal.org/forum/showth...=8547#post8547

it only applies to forms processed by vBulletin
Drupal already had a security token system for a long time

Powered by Drupal - Modified by Danger4k