Mufti Ali

Mufti Ali, Web Developer, blogger, CakePHP addict, JQuery lover, CSS enthusiast. FInd me on twitter, digg, stumbleupon

2 responses to “Google Wave like history slider”

  1. MdqrideR

    Good, very nice, Buy be careful with the characters validation. You should use the php function (for example) addslashes ($ text). Someone can create a XSS attack. e.g:

    ‘?>location.href=”http://www.torrento.com.ar”

    Thanks for sharing.
    Greetings ;)

  2. MdqrideR

    Sorry, do not use PHP code since the problem is not the end but in the front.
    You should use regular expressions from the front side, for example:

    The solution is to strip the tags on the front end with JS, using a regular expression. You can put the following code in line 92 of the second part of script.js:

    text.replace(\\u,”);

    Just mention it in case someone uses it in a production environment.

    Again, thanks for sharing.

    A healthy and happy Christmas and prosperous new year to all ;)

    PD: Thanks Martin

Leave a Reply

CommentLuv Enabled