• Resolved Inglebard

    (@inglebard)


    Hi,

    I noticed something strange in configuration tab.
    In all textarea, special characters are escaped (for example “‘” and “”” ).

    To have a concrete example, if I have :

    “L’ami” after saving I will get “L\’ami” and if I saving one more time “L\\\’ami”

    I’m not sure but in lettreinfo.php line 2130 there are :

    update_option( ‘newsletter_msg’, array(
    ‘sender’=>$_REQUEST[‘newsletter_msg_sender’] ,
    ‘suscribe_title’=>$_REQUEST[‘newsletter_msg_suscribe_title’] ,
    ‘suscribe’=>$_REQUEST[‘newsletter_msg_suscribe’] ,
    ‘unsuscribe_title’=>$_REQUEST[‘newsletter_msg_unsuscribe_title’] ,
    ‘unsuscribe’=>$_REQUEST[‘newsletter_msg_unsuscribe’]
    ));

    but if i read line just before, it should be :

    update_option( ‘newsletter_msg’, array(
    ‘sender’=> stripslashes($_REQUEST[‘newsletter_msg_sender’]) ,
    ‘suscribe_title’=> stripslashes($_REQUEST[‘newsletter_msg_suscribe_title’]) ,
    ‘suscribe’=> stripslashes($_REQUEST[‘newsletter_msg_suscribe’]) ,
    ‘unsuscribe_title’=> stripslashes($_REQUEST[‘newsletter_msg_unsuscribe_title’]) ,
    ‘unsuscribe’=> stripslashes($_REQUEST[‘newsletter_msg_unsuscribe’])
    ));

    https://www.ads-software.com/plugins/eelv-newsletter/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatic backslashes’ is closed to new replies.