/f/ security issue #722

This commit is contained in:
Brandon 2014-05-09 10:53:56 -07:00
parent 938acfe5d8
commit de2d6a0303
4 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* appchan x - Version 2.9.26 - 2014-05-07
* appchan x - Version 2.9.26 - 2014-05-09
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -25,7 +25,7 @@
// ==/UserScript==
/*
* appchan x - Version 2.9.26 - 2014-05-07
* appchan x - Version 2.9.26 - 2014-05-09
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -15602,9 +15602,10 @@
}
swfName = $('.fileText > a');
nav = $('.navLinks');
swfName = swfName.href.replace(/^(.*?)\/f\//g, "");
sauceLink = $.el('a', {
textContent: 'Check Sauce on SWFCHAN',
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
href: "http://eye.swfchan.com/search/?q=" + swfName
});
$.addClass(nav, 'swfSauce');
$.rmClass(nav, 'navLinks');

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* appchan x - Version 2.9.26 - 2014-05-07
* appchan x - Version 2.9.26 - 2014-05-09
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -15622,9 +15622,10 @@
}
swfName = $('.fileText > a');
nav = $('.navLinks');
swfName = swfName.href.replace(/^(.*?)\/f\//g, "");
sauceLink = $.el('a', {
textContent: 'Check Sauce on SWFCHAN',
href: "http://eye.swfchan.com/search/?q=" + swfName.textContent
href: "http://eye.swfchan.com/search/?q=" + swfName
});
$.addClass(nav, 'swfSauce');
$.rmClass(nav, 'navLinks');

View File

@ -10,9 +10,10 @@ Flash =
swfName = $ '.fileText > a'
nav = $ '.navLinks'
swfName = swfName.href.replace /^(.*?)\/f\//g, ""
sauceLink = $.el 'a',
textContent: 'Check Sauce on SWFCHAN'
href: "http://eye.swfchan.com/search/?q=#{swfName.textContent}"
href: "http://eye.swfchan.com/search/?q=#{swfName}"
$.addClass nav, 'swfSauce'
$.rmClass nav, 'navLinks'
$.rmAll nav