"Youssef Eldakar" <[EMAIL PROTECTED]> writes: > It does change it to <base href="">, but that doesn't help in > Internet Explorer. In FireFox, it works very well. Is this a bug in > IE?
It's IMHO a bug in IE, since an empty relative URL should reliably point to the current URL, which is otherwise the default BASE anyway. We could change <base href=""> to <base href=".">, but that would break links like <a href="#fragment">, which should point to the named fragment of the current URL, not to the path component above it. We could change it to <base href="filename">, but that would break when you rename the file. It would probably be most correct if Wget removed the BASE tag altogether. The reason I didn't do that in the first place was because it was easier to only change the attribute value. In addition to that I considered it a good idea for -k to modify the document as little as possible. I didn't test it on IE.
