you can prevent the validation from passing the URL variable by editing the webassist/form_validations/wavt_scripts_php.php file.
Change the following code:
if (isset($_SERVER['QUERY_STRING']) && ($_SERVER['QUERY_STRING'] != '')) {
if (strpos($thePostURL,"?") !== false) {
$thePostURL.= "&" . ($_SERVER['QUERY_STRING']);
} else {
$thePostURL.= "?" . ($_SERVER['QUERY_STRING']);
}
}
$thePostURL = str_replace("%23","#",$thePostURL);
header("Location: ". $thePostURL);
exit;
to:
/*if (isset($_SERVER['QUERY_STRING']) && ($_SERVER['QUERY_STRING'] != '')) {
if (strpos($thePostURL,"?") !== false) {
$thePostURL.= "&" . ($_SERVER['QUERY_STRING']);
} else {
$thePostURL.= "?" . ($_SERVER['QUERY_STRING']);
}
}*/
$thePostURL = str_replace("%23","#",$thePostURL);
header("Location: ". $thePostURL);
exit;