Microsoft KB Archive/927846

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:34, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


The encoded characters are not removed from the URL when you retrieve the "document.URLUnencoded" property in Windows Internet Explorer 7

Article ID: 927846

Article Last Modified on 5/31/2007



APPLIES TO

  • Windows Internet Explorer 7 for Windows XP
  • Windows Internet Explorer 7 for Windows Server 2003
  • Windows Internet Explorer 7 for Windows Server 2003 IA64
  • Windows Internet Explorer 7



SYMPTOMS

When you retrieve the document.URLUnencoded property in Windows Internet Explorer 7, the encoded characters are not removed from the URL.

WORKAROUND

To work around this issue, use the unescape JScript function instead of the document.URLUnencoded property, as in the following line of code.

unescape(document.URL)

MORE INFORMATION

To see the issue that is described in the "Symptoms" section, use Internet Explorer 7 to visit the following Microsoft Developer Network (MSDN) Web site:

Keywords: kburl kbdhtml kbtshoot kbprb KB927846