Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: HTML code bug? (Read 3056 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

HTML code bug?

Links to individual components show up as
Code: [Select]
http://www.foobar2000.org/#foo_input_std
instead of
Code: [Select]
http://www.foobar2000.org/components.html#foo_input_std

Am I right? 
Life is Real...
(But not in audio :) )

HTML code bug?

Reply #1
"Not here"

... Unless someone just fixed it.

HTML code bug?

Reply #2
Quote
"Not here"

... Unless someone just fixed it.

Both Mozilla 1.6 & IE 6.0 give the same result as mentioned above, after shift+refreshing.
Strange 
Life is Real...
(But not in audio :) )

HTML code bug?

Reply #3
Quote
Links to individual components show up as
Code: [Select]
http://www.foobar2000.org/#foo_input_std
instead of
Code: [Select]
http://www.foobar2000.org/components.html#foo_input_std

Am I right? 

Yes. You are right. Here
This appears to be the problem:
Quote
<base href="http://www.foobar2000.org" />


Should be:
Quote
<base href="http://www.foobar2000.org/components.html" />
I think.

HTML code bug?

Reply #4
Hmm, I guess Opera 7.50 build 3494 is ignoring that tag.

HTML code bug?

Reply #5
Quote
Hmm, I guess Opera 7.50 build 3494 is ignoring that tag.

This explains it: Base
Quote
Netscape and Opera both ignore improperly terminated URLs used as the BASE HREF value. eg: relative URLs in a document that used "http://www.blooberry.com" as the HREF would resolve to "http://[relative URL]", and "http://www.blooberry.com/indexdot" would resolve to "http://www.blooberry.com/[relative URL]". To prevent this problem, use a trailing "/" character to properly terminate the URL. Internet Explorer, by the way, accepts both URL forms.

<base href="http://www.foobar2000.org" /> is the incorrect URL, but Opera ignores it becaude it is not written: <base href="http://www.foobar2000.org/[/b]" />

Interesting... I think!? 

HTML code bug?

Reply #6
This is my fault.  I was using the base tag so that I could edit the file off the server and preview the changes without also having to download all the images and css and stuff.  I don't have access to the server atm, so hopefully someone else can just remove it.

HTML code bug?

Reply #7
Fixed, thank you!
Life is Real...
(But not in audio :) )