From 10177fb0a59cc9fc61fb78c724f7b0816b69b798 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 01 Oct 2011 15:50:22 -0400 Subject: [PATCH] CSS fixes for palette buttons --- src/com/gitblit/models/FederationProposal.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/models/FederationProposal.java b/src/com/gitblit/models/FederationProposal.java index 03b31ce..5cf9182 100644 --- a/src/com/gitblit/models/FederationProposal.java +++ b/src/com/gitblit/models/FederationProposal.java @@ -37,6 +37,8 @@ public FederationToken tokenType; public String token; + + public String message; public Map<String, RepositoryModel> repositories; @@ -59,6 +61,7 @@ this.url = url; this.tokenType = tokenType; this.token = token; + this.message = ""; this.repositories = repositories; try { // determine server name and set that as the proposal name @@ -66,7 +69,7 @@ if (name.contains("/")) { name = name.substring(0, name.indexOf('/')); } - name = name.replace(".", ""); + name = name.replace(".", "").replace(";", "").replace(":", "").replace("-", ""); } catch (Exception e) { name = Long.toHexString(System.currentTimeMillis()); } -- Gitblit v1.9.1