[PATCH] overwriting location.href

Tobias Anton TA at ESC-Electronics.de
Wed May 19 16:51:47 BST 2004


Hi,

If a redirection contains a malformed url or location.href is set multiple 
times from a piece of javascript code, KHTML ignores every setting of 
location.href following the first one.

Example:

	location.href="a.html";
	location.href="b.html";

b.html should be opened, but a.html is.

The attached patch fixes this. Can I go ahead and commit?

Cheers,
Tobias


-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.diff
Type: text/x-diff
Size: 862 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040519/b2e67a9c/attachment.diff>


More information about the kfm-devel mailing list