GNOME Bugzilla – Bug 353097
URI wrongly resolved
Last modified: 2006-11-15 17:32:12 UTC
In totemPlugin.cpp we resolve relative URIs against the document URI, but I think we ought to resolve them against the <embed> tag's base URI instead. (See nsGenericHTMLElement::GetURIAttr)
Do you have a website that shows the problem?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
I don't have a test site, but it should be simple to make a testcase, just use a <base> tag. This is definitely a bug, reopening. I'll fix this soon.
I will tuck on another instance of us not using the right base to resolve: //FIXME // http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/chapter_1000_section_3.html // "Important: If you pass a relative URL in the HREF parameter, it must be relative to the currentlyloadedmovie, not relative to the current web page. If your movies are in a separate folder, specify URLs relative to the movies folder." Christian, should we use gnome-vfs to resolve those text URIs?
No, we should use necko for that. My patch (wip) for bug 350297 does that (using document base currently, but it'll be easy to fix to use the correct base).
Fixed with the patch from bug 350297.