Skip to content

Commit

Permalink
Security Fox of Flash SWF that had enabled Cross Site Scripting (XSS)
Browse files Browse the repository at this point in the history
  • Loading branch information
thepag committed Apr 12, 2013
1 parent 55a5196 commit c5fe17b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion actionscript/Jplayer.as
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ package {
}
}
private function illegalChar(s:String):Boolean {
var illegals:String = "' \" ( ) { } * + / \\ < > = document";
var illegals:String = "' \" ( ) { } * + / \\ < > = document alert";
if(Boolean(s)) { // Otherwise exception if parameter null.
for each (var illegal:String in illegals.split(' ')) {
if(s.indexOf(illegal) >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion actionscript/happyworm/jPlayer/JplayerStatus.as
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package happyworm.jPlayer {
public class JplayerStatus {

public static const VERSION:String = "2.2.20"; // The version of the Flash jPlayer entity.
public static const VERSION:String = "2.2.23"; // The version of the Flash jPlayer entity.

public var volume:Number = 0.5; // Not affected by reset()
public var muted:Boolean = false; // Not affected by reset()
Expand Down
Binary file modified jquery.jplayer/Jplayer.swf
Binary file not shown.
8 changes: 4 additions & 4 deletions jquery.jplayer/jquery.jplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Mark J Panaghiston
* Version: 2.2.22
* Date: 29th March 2013
* Version: 2.2.23
* Date: 12th April 2013
*/

/* Code verified using http://www.jshint.com/ */
Expand Down Expand Up @@ -454,8 +454,8 @@
$.jPlayer.prototype = {
count: 0, // Static Variable: Change it via prototype.
version: { // Static Object
script: "2.2.22",
needFlash: "2.2.20",
script: "2.2.23",
needFlash: "2.2.23",
flash: "unknown"
},
options: { // Instanced in $.jPlayer() constructor
Expand Down

0 comments on commit c5fe17b

Please sign in to comment.