• Resolved Trebly

    (@trebly)


    Hi,

    You register this script in front form which translated in French gives this :

    <script type='text/javascript'>
        jQuery(document).ready(function(){jQuery('#rm_reg_form_pw_2_1').password({ shortPass: 'Trop court',badPass: 'Pauvre (facile à trouver)',goodPass: 'Moyen (si on veut faire l'effort...)',strongPass: 'Fort (incraquable et introuvable... en principe)',});})
    </script>

    Because of the translation we find this “(si on veut faire l’effort…)” with a not escaped single quote “‘” -> then crashes !

    Best regards

    Trebly

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Trebly

    (@trebly)

    Hi,

    After verification the text seems to come from one of my forms (I was not remembering first), this because I could not find any part of the sentence into the plugin, and I do not took time to search into database, because after, I was sure to find it there.

    So the problem is that if the text is inserted into a js script it must be accurate to escape it in the suitable manner depending of the context.

    Best regards

    Trebly

    Plugin Contributor registrationmagic

    (@registrationmagic)

    Hello Trebly,

    Thanks for reporting this. We plan to fix it in the release scheduled for first week of December.

    Appreciate your patience. Always happy to answer your questions.

    Plugin Support RegistrationMagic Support

    (@registrationmagicsupport)

    Hi Trebly,

    We have released the fix in today’s update. Kindly update RegistrationMagic to the latest version.

    Please do let us know if you have any further questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘One bug found : invalid script in French’ is closed to new replies.