Revision 5f27d642
b/gss/src/gr/ebs/gss/client/VersionsList.java | ||
---|---|---|
141 | 141 |
String dateString = AbstractRestCommand.getDate(); |
142 | 142 |
String resource = file.getPath().substring(GSS.GSS_REST_PATH.length()-1,file.getPath().length()); |
143 | 143 |
String sig = GSS.get().getCurrentUserResource().getUsername()+" "+AbstractRestCommand.calculateSig("GET", dateString, resource, AbstractRestCommand.base64decode(GSS.get().getToken())); |
144 |
link[0] = "<a class='hidden-link' href='" + file.getPath() + "&Authorization=" + URL.encodeComponent(sig) + "&Date="+URL.encodeComponent(dateString) + "' target='_blank'>"; |
|
144 |
link[0] = "<a class='hidden-link info' href='" + file.getPath() + "&Authorization=" + URL.encodeComponent(sig) + "&Date="+URL.encodeComponent(dateString) + "' target='_blank'>";
|
|
145 | 145 |
link[1] = "</a>"; |
146 | 146 |
} |
147 | 147 |
|
Also available in: Unified diff