The explanation I've gotten is the following.
IE sends the url to the server, and the server sends back the redirected url
to the browser.
So IE is preserving queries, but not anchors, when a URL has been
redirected.
I would consider this to be a bug in IE, especially since Mozilla/FoxFire do
preserve the anchors.
I tried calling MSFT To report this problem, but they wanted to charge me
just to talk to the support folkes.
No way will I do that/
--
http://www.standards.com/; See Howard Kaikow's web site.
"Howard Kaikow" <kaikow@standards.com> wrote in message
news:ck9pii$rsv$1@pyrite.mv.net...[color=blue]
> How do I find where I am screwing up?
>
> Using the following in Eudora, and equivalent links elsewhere, the URLs[/color]
with[color=blue]
> the # get truncated just before the #.
>
> <a href="http://www.standards.com/links.html?FailureToDeleteToolbar"
>[/color]
eudora="autourl">http://www.standards.com/links.html?FailureToDeleteToolbar<[color=blue]
> br><br>
> </a><a href="http://www.standards.com/links.html#FailureToDeleteToolbar"
>[/color]
eudora="autourl">http://www.standards.com/links.html#FailureToDeleteToolbar<[color=blue]
> br><br>
> </a><a href="http://www.standards.com/links.html?HowardKaikow"
> eudora="autourl">http://www.standards.com/links.html?HowardKaikow<br><br>
> </a><a href="http://www.standards.com/links.html#HowardKaikow"
> eudora="autourl">http://www.standards.com/links.html#HowardKaikow<br><br>
>
> If I include alert(location.href), the URL is truncated on input to the
> script.
> For example,
http://www.standards.com/links.html#...oDeleteToolbar[/color]
gets[color=blue]
> truncated to
http://www.standards.com/links.html.
> No problem if a ? is used instead of a #.
>
> However, the following does not truncate the URL.
>
> <p><a
> href="links.html#FailureToDeleteToolbar">#FailureT oDeleteToolbar</a></p>
> <p><a
> href="links.html?FailureToDeleteToolbar">?FailureT oDeleteToolbar</a></p>
>
> I expect that I am doing something wrong.
> Any pointers?
>
> function CompareBookmarks(bmkTarget)
> {
> return (locSearch== bmkTarget.toLowerCase());
> }
> var locHash=location.hash.toLowerCase().slice(1);
> var locSearch=location.search.toLowerCase().slice(1);
> var lenHash=locHash.length;
> var lenSearch=locSearch.length;
> var blnStatus=Boolean(false);
> alert(location.href);
> if((lenHash != 0) && (lenSearch != 0) || ((lenHash + lenSearch) == 0))
> {
> blnStatus = false;
> }
> else
> {
> blnStatus = true;
> if(lenSearch == 0)
> {
> locSearch = locHash;
> }
> }
> if (blnStatus)
> {
> if(CompareBookmarks("HowardKaikow")){
> location.replace("HowardKaikow.html");
> }
> else if(CompareBookmarks("HowardKaikowServices")){
> location.replace("HowardKaikowServices.html");
> }
> else if(CompareBookmarks("SortPerformanceComparison")){
> location.replace("Sorting/SortPerformanceComparison-Description.html");
> }
> else if(CompareBookmarks("ThisandThat")){
> location.replace("index.html#ThisandThat");
> }
> else if(CompareBookmarks("CopyFileToPrinter")){
> location.replace("ThisAndThat/CopyFileToPrinter.html");
> }
> else if(CompareBookmarks("WordVBABooks")){
> location.replace("OhMyWord/WordVBABooks.htm");
> }
> else if(CompareBookmarks("WordBasicBooks")){
> location.replace("OhMyWord/WordBasicBooks.htm");
> }
> else if(CompareBookmarks("FailureToDeleteToolbar")){
> location.replace("OhMyWord/VBABugsFeatures/FailureToDeleteToolbar.html");
> }
> else if(CompareBookmarks("SetReferenceInWordProject")){
> location.replace("OhMyWord/SetReferenceInWordProject.html");
> }
> else {
> alert(location.href + " is not a valid URL.\n" +
> "You will be taken to http://www.standards.com/index.html.");
> location.replace("index.html");
> }
> }
> else {
> alert(location.href + " is not a valid URL.\n" +
> "You will be taken to http://www.standards.com/index.html.");
> location.replace("index.html");
> }
>
>
>
>
>
>
> --
>
http://www.standards.com/; See Howard Kaikow's web site.
>
>[/color]