# HG changeset patch # User Dan # Date 1182606958 14400 # Node ID ad5986a53197eb55da849e9f15fc6ad86cc7763c # Parent ce6053bb48d8038ee219a07988c79937f8c48b2f Fixed complicated SQL injection vulnerability in URL handler, updated license info for Tigra Tree Menu, and killed one XSS vulnerability diff -r ce6053bb48d8 -r ad5986a53197 TODO --- a/TODO Fri Jun 22 18:42:26 2007 -0400 +++ b/TODO Sat Jun 23 09:55:58 2007 -0400 @@ -24,7 +24,7 @@ [x] Change the string shown on a successful re-auth into elevated privileges [x] ...and write a function that converts a numeric userlevel to a string [x] Make Special:Login remember parameters (target level, target page) even on auth fail -[ ] Register users_extra table in system tables list (already done?) +[x] Register users_extra table in system tables list (already done?) [x] Trigger form submit on press of enter in Dynano login form [ ] Rewrite the change theme dialog - it's archaic code that hasn't changed since beta 1! [ ] This should be the next-to-last step in phasing out the JWS code, which should be removed in the first 1.1 alpha diff -r ce6053bb48d8 -r ad5986a53197 ajax.php diff -r ce6053bb48d8 -r ad5986a53197 includes/clientside/static/admin-menu.js --- a/includes/clientside/static/admin-menu.js Fri Jun 22 18:42:26 2007 -0400 +++ b/includes/clientside/static/admin-menu.js Sat Jun 23 09:55:58 2007 -0400 @@ -27,7 +27,11 @@ * * - Header block of script file (tree.js) CAN NOT be modified or removed. * - The above items CAN NOT be sold as are, either individually or together. - * - The above items CAN NOT be modified and then sold as a library component, either individually or together. + * - The above items CAN NOT be modified and then sold as a library component, either individually or together. + * + * Due to the unclear licensing conditions on this script, I contacted the author, who said that because Enano + * is not a "competing product" I was allowed to treat the code as GPL. The conversation can be seen in the + * /licenses/tigra-menu.html document in the Enano distribution. */ var ck = readCookie('admin_menu_state'); diff -r ce6053bb48d8 -r ad5986a53197 includes/clientside/static/ajax.js --- a/includes/clientside/static/ajax.js Fri Jun 22 18:42:26 2007 -0400 +++ b/includes/clientside/static/ajax.js Sat Jun 23 09:55:58 2007 -0400 @@ -466,6 +466,13 @@ function ajaxChangeStyle() { + var inner_html = ''; + inner_html += ''; +} + +/* +function ajaxChangeStyle() +{ var win = document.getElementById("cn2"); win.innerHTML = ' \