Support » Plugin: RegistrationMagic - Custom Registration Forms and User Login » One bug found : invalid script in French

  • Resolved Trebly



    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)',});})

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

    Best regards


Viewing 3 replies - 1 through 3 (of 3 total)
  • 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


    Plugin Author 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 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.