Commit d34b5912 authored by Dan Rossi's avatar Dan Rossi
Browse files

- #53 update url filter to accomodate for pretty urls with semi colons.

parent 6d1616a2
......@@ -11,6 +11,7 @@ Version history:
- #44 fixes for #627 check if the stagevideo dimensions and positioning has changed to update the stage video mask with.
unbinding and binding stage video events caused issues with instream playlists therefore has to be kept binded.
unbinded stage video events during seeking to prevent the mask repositioning.
- #53 update url filter to accomodate for pretty urls with semi colons.
3.2.14
------
......@@ -21,6 +22,7 @@ unbinded stage video events during seeking to prevent the mask repositioning.
3.2.13
------
- Updated to automatically load the latest controls and audio plugins
......
......@@ -36,7 +36,8 @@ package org.flowplayer.util {
}
public static function isValid(URL:String):Boolean {
var regex:RegExp = /^http(s)?:\/\/((\d+\.\d+\.\d+\.\d+)|(([\w-]+\.)+([a-z,A-Z][\w-]*)))(:[1-9][0-9]*)?(\/(?:%+@&=)|([\w-.\/:%+@&=]+[\w-.\/?:%+@&=]*)?)?(#(.*))?$/i;
//#53 update url filter to accomodate for pretty urls with semi colons.
var regex:RegExp = /^http(s)?:\/\/((\d+\.\d+\.\d+\.\d+)|(([\w-]+\.)+([a-z,A-Z][\w-]*)))(:[1-9][0-9]*)?(\/(?:%+@&=)|([\w-.\/:;%+@&=]+[\w-.\/?:;%+@&=]*)?)?(#(.*))?$/i;
return regex.test(URL);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment