When creating a subscription to a Thread, a Fatal Error can be triggered by entering a * in the box.

mamarley - January 3, 2010 - 16:28
Project:Notifications
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If I try to create a subscription to a thread from the User>Notifications>Add Subscription>Thread page, I can make Notifications crash with:

Fatal error: [] operator not supported for strings in /var/www/modules/notifications/notifications.node.inc on line 113

by entering a * in the box. This should not happen.

#1

mamarley - January 3, 2010 - 16:29

You can also crash it by entering other non-alphanumeric characters such as ()!@#$%^&.

 
 

Drupal is a registered trademark of Dries Buytaert.