Changeset 1574 for trunk/security/ExpressoCertLogin/src/LoginApplet.java
- Timestamp:
- 11/03/09 16:23:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/security/ExpressoCertLogin/src/LoginApplet.java
r1174 r1574 121 121 122 122 123 String redirect = this.getCodeBase(). toExternalForm() + "login.php?cd=98&ts=202";123 String redirect = this.getCodeBase().getProtocol() + "://" + this.getCodeBase().getHost() + "/login.php?cd=98&ts=202"; 124 124 try { 125 125 this.getAppletContext().showDocument(new URL(redirect)); … … 150 150 151 151 tryAgain = false; 152 String redirect = this.getCodeBase(). toExternalForm() + "login.php";152 String redirect = this.getCodeBase().getProtocol() + "://" + this.getCodeBase().getHost() + "/login.php"; 153 153 try { 154 154 this.getAppletContext().showDocument(new URL(redirect)); … … 223 223 System.gc(); 224 224 225 String redirect = this.getCodeBase(). toExternalForm() + "login.php";225 String redirect = this.getCodeBase().getProtocol() + "://" + this.getCodeBase().getHost() + "/login.php"; 226 226 try { 227 227 this.getAppletContext().showDocument(new URL(redirect));
Note: See TracChangeset
for help on using the changeset viewer.