Quantcast
Channel: Directory Services Forum
Viewing all articles
Browse latest Browse all 2536

FYI Active Directory Certificate Services (svr2008R2) is broken for IE10

$
0
0

Hey People,

just discovered this today, the browser version checking in certsbrt.inc makes the assumption that IE has a single digit version number.  This means that it thinks that IE10 is actually IE1, which means it decides to relegate it to unsupported.

There seems to be two ways to fix this:

1. In IE10, open the developer bar and set the browser to IE10 Compatability view(instead of IE10 mode).

2. Alternatively, modify the version check in certsbrt.inc to something like:

Function IsOldMSIE(sHttpUserAgent)
   Dim nMSIE
   Dim sMSIEVersion
  
   nMSIE = InStr(sHttpUserAgent, "MSIE")
  
   If nMSIE=0 Then
      IsOldMSIE = False

   ElseIf nMSIE+5 < Len(sHttpUserAgent) Then
      If CInt(Mid(sHttpUserAgent, nMSIE+5, 1)) = 1 Then
        sMSIEVersion = Mid(sHttpUserAgent, nMSIE+5, 2)
      Else
        sMSIEVersion = Mid(sHttpUserAgent, nMSIE+5, 1)
      End If
      IsOldMSIE = CInt(sMSIEVersion) < NEW_MSIE_VERSION

   Else
      IsOldMSIE = False
   End If

End Function

It probably needs to be smarter than that, but it should cover you for up to IE19 :)

I haven't checked, but I'd like to think this has already been fixed in the svr2012 AD Certificate Services edition.

Later'ish
Craig


Viewing all articles
Browse latest Browse all 2536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>