Click here to Skip to main content
15,891,718 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
var request = (HttpWebRequest)WebRequest.Create(userResource);
request.Accept = UseJsonFormat ? "application/v1+json" : "application/v1+xml";
request.Timeout = 500000;
request.ContentType = null;
request.Method = "POST";
var ticket = GetTicket(user);

request.Headers.Add(HttpRequestHeader.Cookie, string.Format("{0} = {1}", "iSiteWebApplication", ticket));

In above code request.Headers.Add method is flagging header manipulation fortify issue. Can somebody help me to resolve this issue in HP fortify and make fortify happy.

Thanks,
Abhijit
Posted
Updated 22-Jan-16 0:01am
v2
Comments
F-ES Sitecore 22-Jan-16 6:29am    
What is in "GetTicket"?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900