/*
* @(#)GetRedirectTest.html 1.2 98/03/18
*
* Copyright 1995 by Sun Microsystems, Inc.,
* 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Sun Microsystems, Inc. ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Sun.
*/
import java.awt.*;
import java.util.*;
import java.net.*;
import java.applet.*;
public class GetRedirectTest extends SecurityTest {
public void test(Graphics g) throws java.io.IOException, MalformedURLException {
String forbiddenRedirectedURL = getParameter("IllegalRedirectURL");
image = getImage(new URL(forbiddenRedirectedURL));
}
}