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
Reviewers, 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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to