Hi I used HPE Fortify to scan my application and it show a cross site scripting vulnerability on my codes.
How do i prevent cross site scripting based on the codes below?
LabelErrorResult.Text += "<li>Duplicate selection for sequence " + ddl.SelectedValue + "</li>";