The branch, master has been updated
via f6a6063850d8b96481174ba2404a43a73b84aaca (commit)
from f60dad172bfb0939a0c165b0988d5b7a2689bc45 (commit)
- Log -----------------------------------------------------------------
commit f6a6063850d8b96481174ba2404a43a73b84aaca
Author: Yuichiro <[email protected]>
Date: Sun Dec 18 16:07:00 2011 +0900
Improved % escape
-----------------------------------------------------------------------
Summary of changes:
libraries/Advisor.class.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/Advisor.class.php b/libraries/Advisor.class.php
index 8ef331d..62ba645 100644
--- a/libraries/Advisor.class.php
+++ b/libraries/Advisor.class.php
@@ -112,7 +112,7 @@ class Advisor
*/
function escapePercent($str)
{
- return preg_replace('/%( |,|\.|$)/', '%%\1', $str);
+ return preg_replace('/%( |,|\.|$|\(|\)|<|>)/', '%%\1', $str);
}
/**
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git