[thelist] .NET HTML relative URI problem
Sam Carter
scforum at iness.com
Thu Feb 5 08:41:56 CST 2004
I have a .NET page that renders a "relative" URL to an image. Here's a clip
of the HTML:
<img id="Image1"
src="./tempcertificates/Course4032Client9617User3449101.gif" alt=""
border="0" />
There are 2 things I don't like about the HTML, and I wonder if either might
be causing the problem described below:
1 - There should be two dots in the relative path. src="../ is how I
code relative URLs by hand. What's up with the single dot?
2 - I'd like to find out how to suppress the XHTML /> rendered by .NET.
This should be a 4.01 transitional loose DOCTYPE.
The problem is that some (very few) browsers are resolving the IMG URI as:
<http://domainname.com/pathname/filename_file/Course4032Client9617User344910
1.gif>
http://domainname.com/pathname/filename_file/Course4032Client9617User3449101
.gif"
and pull a 404 not found on the image. These are not old browsers. Netscape
7.1 is most frequently generating the error. At least half the browsers are
Netscape 4.X and I havn't seen an error in 4.X yet.
Interesting translation in that the /tempcertificates/ is completely missing
and is replaced by the page filename with "_file" appended.
Any help appreciated.
Sam
More information about the thelist
mailing list