working on slash problem
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 8 Jan 2000 20:56:55 +0000 (20:56 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 8 Jan 2000 20:56:55 +0000 (20:56 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@145 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose_send.php
src/options_submit.php

index 5d8cb68..ce159ee 100644 (file)
@@ -46,7 +46,7 @@
    }
 
    $passed_body = stripslashes($passed_body);
-   $passed_body = stripslashes($passed_body);
+   $passed_body = stripslashes($passed_body); // Apparently I have to remove them twice.. dunno why.
    $passed_to = stripslashes($passed_to);
    $passed_cc = stripslashes($passed_cc);
    $passed_bcc = stripslashes($passed_bcc);
index 7b7d823..131aa68 100644 (file)
@@ -21,7 +21,7 @@
    setPref($data_dir, $username, "editor_size", $editorsize);
    setPref($data_dir, $username, "use_signature", $usesignature);
 
-   setSig($data_dir, $username, stripslashes($signature_edit));
+   setSig($data_dir, $username, stripslashes(stripslashes($signature_edit)));
 
    echo "<FONT FACE=\"Arial,Helvetica\">";
    echo "<BR><BR><BR><CENTER><B>Options Saved!</B><BR><BR>";