diff options
author | James Moger <james.moger@gitblit.com> | 2014-06-27 13:04:03 -0600 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-27 13:04:03 -0600 |
commit | a1bf199ad6a9ebde4c0617ff1fc29ee0fc11c3a2 (patch) | |
tree | 08bc7a56e95543334b519a4a19e2be553bb2ba46 | |
parent | be722e7555aff66db450a49898bceab7dfd71976 (diff) | |
parent | 5d41d9b88dfaab211ac58762d76461a88699e793 (diff) | |
download | gitblit-a1bf199ad6a9ebde4c0617ff1fc29ee0fc11c3a2.tar.gz gitblit-a1bf199ad6a9ebde4c0617ff1fc29ee0fc11c3a2.zip |
Merged #115 "Milestone names with hypens are trouble"
-rw-r--r-- | src/main/java/com/gitblit/tickets/TicketIndexer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/tickets/TicketIndexer.java b/src/main/java/com/gitblit/tickets/TicketIndexer.java index 3929a000..98fe6977 100644 --- a/src/main/java/com/gitblit/tickets/TicketIndexer.java +++ b/src/main/java/com/gitblit/tickets/TicketIndexer.java @@ -143,7 +143,7 @@ public class TicketIndexer { private String escape(String value) { if (value.charAt(0) != '"') { - if (value.indexOf('/') > -1) { + if (value.indexOf('/') > -1 || value.indexOf('-') > -1) { return "\"" + value + "\""; } } |