<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-style-name:ecxmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink
        {mso-style-name:ecxmsohyperlink;}
span.ecxmsohyperlinkfollowed
        {mso-style-name:ecxmsohyperlinkfollowed;}
span.ecxemailstyle17
        {mso-style-name:ecxemailstyle17;}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-style-name:ecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.ecxmsohyperlink1
        {mso-style-name:ecxmsohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {mso-style-name:ecxmsohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.ecxemailstyle171
        {mso-style-name:ecxemailstyle171;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks so much Rajesh….<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I will try this at my end and will get back to you.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Unmesh Desale<br></span></b><b><u><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>________________________________</span></u></b><b><span lang=EN style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Office:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'> +91 20 40754 4823  <b>Mobile: </b>+91 9657725432<b>  <u><br></u>unmesh_desale@symantec.com</b></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><br></span><b><u><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>________________________________</span></u></b><b><span lang=EN style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rajesh Punjabi [mailto:rajesh_punjabi@hotmail.com] <br><b>Sent:</b> Monday, August 05, 2013 10:44 PM<br><b>To:</b> Unmesh Desale; owasp-csrfguard@lists.owasp.org<br><b>Subject:</b> RE: [Owasp-csrfguard] Issue with IE8<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>I got into the same issue and here is what I wrote earlier on a thread.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>It seems when the JavaScriptServlet injects tokens to all the elements in the DOM, it also attaches the token to <script src=''> and <link href=''>.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>In IE8 the browser loads all the css files and JS files twice.  This seems to screw up things.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>You could try to make the INJECT_ATTRIBUTES parameter as false.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>Alternatively, if you think this may break some functionality you desire then in the injectTokenAttribute() method I added the following line. (more of a hack)<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>if(location != null && isValidUrl(location) && !location.toLowerCase().endsWith(".css") && !location.toLowerCase().endsWith(".js") && !location.toLowerCase().endsWith("javascriptservlet")) {<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>    var uri = parseUri(location);<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>    .....................<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>}<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>So basically for js, css files we shouldn't need to attach the CSRFTOKEN attribute.<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>HTH<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='line-height:15.85pt'><span style='font-family:"Calibri","sans-serif";color:#444444'>Best,<br>Rajesh<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-family:"Calibri","sans-serif"'><hr size=2 width="100%" align=center id=stopSpelling></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Calibri","sans-serif"'>From: Unmesh_Desale@symantec.com<br>To: owasp-csrfguard@lists.owasp.org<br>Date: Mon, 5 Aug 2013 05:41:03 -0700<br>Subject: [Owasp-csrfguard] Issue with IE8<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>Hi All,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>I have configured OWASP CSRFGuard for my project. It is working fine when I am browsing my site using Firefox Mozilla but same site doesn’t not work when I browse it through IE 8. This module is not able to inject CSRF token for IE8.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>Is this module works (supports) IE8 and higher versions? Is it cross-browser compatible?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>Please suggest me some solution. I am in urgent need of help.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks,</span></b><span style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Unmesh Desale<br></span></b><b><u><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>________________________________</span></u></b><span style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN style='font-family:"Calibri","sans-serif"'> </span><span style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Office:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> +91 20 40754 4823  <b>Mobile: </b>+91 9657725432<b>  <u><br></u>unmesh_desale@symantec.com</b><span style='color:#1F497D'><br></span></span><b><u><span lang=EN style='font-size:10.0pt;font-family:"Arial","sans-serif";color:gray'>________________________________</span></u></b><span style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'> <o:p></o:p></span></p></div><p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'><br>_______________________________________________ Owasp-csrfguard mailing list Owasp-csrfguard@lists.owasp.org https://lists.owasp.org/mailman/listinfo/owasp-csrfguard<o:p></o:p></span></p></div></div></div></body></html>