File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -802,9 +802,9 @@ function cforms2($no = '', $customfields = array()) {
802802 }
803803
804804
805- $ formcontent .= '<input type="hidden" name="cf_working ' . $ no . '" id="cf_working ' . $ no . '" value="<span> ' . rawurlencode ( $ cformsSettings ['form ' . $ no ]['cforms ' . $ no . '_working ' ]) . '</span>"/> ' .
806- '<input type="hidden" name="cf_failure ' . $ no . '" id="cf_failure ' . $ no . '" value="<span> ' . rawurlencode ( $ cformsSettings ['form ' . $ no ]['cforms ' . $ no . '_failure ' ]) . '</span>"/> ' .
807- '<input type="hidden" name="cf_customerr ' . $ no . '" id="cf_customerr ' . $ no . '" value=" ' . rawurlencode ($ custom_error ) . '"/> ' ;
805+ $ formcontent .= '<input type="hidden" name="cf_working ' . $ no . '" id="cf_working ' . $ no . '" value="<span> ' . stripslashes ( htmlspecialchars ( $ cformsSettings ['form ' . $ no ]['cforms ' . $ no . '_working ' ]) ) . '</span>"/> ' .
806+ '<input type="hidden" name="cf_failure ' . $ no . '" id="cf_failure ' . $ no . '" value="<span> ' . stripslashes ( htmlspecialchars ( $ cformsSettings ['form ' . $ no ]['cforms ' . $ no . '_failure ' ]) ) . '</span>"/> ' .
807+ '<input type="hidden" name="cf_customerr ' . $ no . '" id="cf_customerr ' . $ no . '" value=" ' . htmlspecialchars ($ custom_error ) . '"/> ' ;
808808
809809 $ formcontent .= '</fieldset> ' ;
810810
You can’t perform that action at this time.
0 commit comments