Ignore:
Timestamp:
11/03/09 16:23:16 (15 years ago)
Author:
rafaelraymundo
Message:

Ticket #699 - Otimização das rotinas de criptografia,
assinatura digital e verificação da mesma.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/security/ExpressoCertLogin/src/LoginApplet.java

    r1174 r1574  
    121121 
    122122 
    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"; 
    124124                                                                try { 
    125125                                                                        this.getAppletContext().showDocument(new URL(redirect)); 
     
    150150 
    151151                                                        tryAgain = false; 
    152                                                         String redirect = this.getCodeBase().toExternalForm() + "login.php"; 
     152                                                        String redirect = this.getCodeBase().getProtocol() + "://" + this.getCodeBase().getHost() + "/login.php"; 
    153153                                                        try { 
    154154                                                                this.getAppletContext().showDocument(new URL(redirect)); 
     
    223223                                                System.gc(); 
    224224 
    225                                                 String redirect = this.getCodeBase().toExternalForm() + "login.php"; 
     225                                                String redirect = this.getCodeBase().getProtocol() + "://" + this.getCodeBase().getHost() + "/login.php"; 
    226226                                                try { 
    227227                                                        this.getAppletContext().showDocument(new URL(redirect)); 
Note: See TracChangeset for help on using the changeset viewer.