Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-16-2008, 06:31 AM
AeroKid
Newsgroup Contributor
 
Posts: n/a
Relative path names don't work with # in root path with local # links

See also : Relative path names in img map files don't work with # in
root path

If you have some documents on a local PC where they are stored in a
directory with '#' in the name, and the html files include relative
links to other pages with the name of an anchor appended, as is
href="local.html#subject" to go to the local HTML page with the
specified 'subject' at the top of the page. This will not work if the
files are on a path such as 'C:\sna#fu' but will work if the direcory
is renamed to 'C:\snafu'.

It looks like the URL parsing stops at the first '#' and says
everything after this is the name of an anchor in the page, and then
it looks at the rest of the URL for the name of the page, which in the
first case is 'C:\sna' which does not exist!

This all works fine in FireFox, fails in IE6 & IE7.

Thanks,
Aaron
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-16-2008, 06:31 AM
  #2 (permalink)  
Old 04-16-2008, 07:01 AM
C A Upsdell
Newsgroup Contributor
 
Posts: n/a
Re: Relative path names don't work with # in root path with local# links

AeroKid wrote:
> See also : Relative path names in img map files don't work with # in
> root path
>
> If you have some documents on a local PC where they are stored in a
> directory with '#' in the name, and the html files include relative
> links to other pages with the name of an anchor appended, as is
> href="local.html#subject" to go to the local HTML page with the
> specified 'subject' at the top of the page. This will not work if the
> files are on a path such as 'C:\sna#fu' but will work if the direcory
> is renamed to 'C:\snafu'.
>
> It looks like the URL parsing stops at the first '#' and says
> everything after this is the name of an anchor in the page, and then
> it looks at the rest of the URL for the name of the page, which in the
> first case is 'C:\sna' which does not exist!
>
> This all works fine in FireFox, fails in IE6 & IE7.


If the directory name is sna#fu, try sna%23fu in the HTML.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-22-2008, 02:20 AM
AeroKid
Newsgroup Contributor
 
Posts: n/a
Re: Relative path names don't work with # in root path with local #links

But these are relative path names, so 'c:\snafu' or 'c:\sna#fu' do not
appear in the html file(s).
This is a bug in IE I feel, not my html (which is output by Doxygen)
and it all works in FireFox.

Thanks,
Aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Relative path names in img map files don't work with # in root pat Aaron Ridout Internet Explorer 13 03-28-2009 12:29 AM
creating shortcut to program with relative, not absolute, path Zytan Windows XP 5 08-21-2007 02:20 PM
File->Open->Look In:-> cuts off full path names Bob Microsoft Office 1 05-15-2007 07:30 AM
unc path as local disk Sentinal Windows XP 1 01-11-2007 12:30 AM
relative path problem Osiris Windows XP 10 01-04-2007 04:56 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 08:56 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0