IE is modifying my pages and puts # automatically to the hyperlinks when I redirect a page via JavaScript.
Here is the message I am seeing:
Internet Explorer has modified this page to help prevent cross-site scripting.
Click here for more information...
I tried the following two methods to programatically prevent IE from doing this.
<meta http-equiv="X-XSS-Protection" content="0">
Via Coldfusion:
<cfheader name="X-XSS-Protection" value="0">
But none of them worked for me. What I am doing wrong?
To redirect, I am doing simple javascript like this:
windows.location = "?param1=val_1¶m2=val_2";
/* Sample URL to redirect:
?grp=3&set=1&KEYWORDS=&BADWORDS=&jt_BADWORDS=&OPT='or'&JOBTITLE=&searchType=full&zipcode=&radius=9999&EMPLOYER=&Edu_Keywords=&RDfrom=&RDto=01/07/2013&FULLNAME=test&EX_C=1&JT_C=1&JT_B=1&EMAIL=&BOOL1=1&BOOL2=1&stateField='All'&CountryField='All'&sourcenames=0&RemovePrev=&my_thumbsup=&prev_sent_clients=&is_bounce_back=&is_refused=&getmarketproducts=&experience=&JOBINDUSTRY=&Specialization=&SubDiscipline=&Certification=&EDUCATION=&bool=1&seniority=&Sen_cur=1&sort=score,max_res_date&RemoveEmailed=&Removeemailed_Anyone=&experimental=1&paging_clicked=1
*/