Video plugin uses incorrect RegExp for subclass discovery

Bug #544277 reported by Tilman Blumenbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quam Plures
Fix Released
High
Tilman Blumenbach

Bug Description

Branch: trunk, rev 7448

The video plugin uses an incorrect regular expression for subclass discovery, which can lead to including wrong PHP files using require_once().

Code reference (plugins/video_plugin/_video.plugin.php:52):
  if( preg_match( '~_(.+?)\.vp\.php~', $file, $matches ) )

Related branches

Changed in quam-plures:
status: In Progress → Fix Committed
Changed in quam-plures:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.