← Back to team overview

mahara-contributors team mailing list archive

[Bug 802338] [NEW] vague regular expression in vimeo externalvideo media source

 

Public bug reported:

A recent commit to Mahara master branch has a very vague regular expression:
'match' => '#<embed src="http://(.+)" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="([0-9]+)" height="([0-9]+)"></embed>#',

This will accept any URL and call it a Vimeo URL.

** Affects: mahara
     Importance: Undecided
     Assignee: Brett Wilkins (brettwilkins)
         Status: New

** Changed in: mahara
     Assignee: (unassigned) => Brett Wilkins (brettwilkins)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/802338

Title:
  vague regular expression in vimeo externalvideo media source

Status in Mahara ePortfolio:
  New

Bug description:
  A recent commit to Mahara master branch has a very vague regular expression:
  'match' => '#<embed src="http://(.+)" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="([0-9]+)" height="([0-9]+)"></embed>#',

  This will accept any URL and call it a Vimeo URL.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/802338/+subscriptions


Follow ups

References