document.location.search is null in ie7 rc1 for local url

I launch my app from a local file and pass it the location of a remote server in the query string.  For example, given the following shortcut:

"C:\Program Files\Internet Explorer\iexplore.exe" file:///c:/abc/abc.html REMOTE_SERVER=https://ie7.microsoft.com/server/

I have javascript on that page which parses document.location.search to obtain REMOTE_SERVER.  In ie6, this works.  In ie7 rc1, it is null.  Can anyone suggest a fix or workaround   -Thanks



Answer this question

document.location.search is null in ie7 rc1 for local url