← Back to team overview

mahara-contributors team mailing list archive

[Bug 1381807] [NEW] external media not returning an error for bad non url input

 

Public bug reported:

Need additional check so that inputs that fail the url check should be
checked for tag structure

So to test:

Should pass:

- http://youtu.be/vDy3NXVBQtI
- <iframe width="560" height="349" src="http://www.youtube.com/embed/vDy3NXVBQtI"; frameborder=0></iframe>

Should fail:
- blahblah  (random text)
- <iframe width="560" height="349" src="http://www.yo  (incomplete tag structure)
-

** Affects: mahara
     Importance: Low
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1381807

Title:
  external media not returning an error for bad non url input

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Need additional check so that inputs that fail the url check should be
  checked for tag structure

  So to test:

  Should pass:

  - http://youtu.be/vDy3NXVBQtI
  - <iframe width="560" height="349" src="http://www.youtube.com/embed/vDy3NXVBQtI"; frameborder=0></iframe>

  Should fail:
  - blahblah  (random text)
  - <iframe width="560" height="349" src="http://www.yo  (incomplete tag structure)
  -

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


Follow ups

References