diff options
author | James Moger <james.moger@gitblit.com> | 2014-06-27 15:05:06 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-27 15:05:06 -0400 |
commit | 5b41f21c57274c4f2e58b78dcb8666d0b37dc6d2 (patch) | |
tree | 4777e8104c0af2911766f631746b6460a2b9092c | |
parent | 0fd37157bc4a556407a54d466725fd33124993ba (diff) | |
parent | 5d41d9b88dfaab211ac58762d76461a88699e793 (diff) | |
download | gitblit-5b41f21c57274c4f2e58b78dcb8666d0b37dc6d2.tar.gz gitblit-5b41f21c57274c4f2e58b78dcb8666d0b37dc6d2.zip |
Merge branch 'ticket/115' into develop
-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 + "\""; } } |