aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-11-13 23:02:55 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2008-11-13 23:03:54 -0800
commit19eba5f2ad652205fafc178ccc57346898c9764f (patch)
tree097c50587fa5d9f96620e37a07641d8d862146f5
parentChange default template per solars request. (diff)
downloadrbot-bugzilla-19eba5f2ad652205fafc178ccc57346898c9764f.tar.gz
rbot-bugzilla-19eba5f2ad652205fafc178ccc57346898c9764f.tar.bz2
rbot-bugzilla-19eba5f2ad652205fafc178ccc57346898c9764f.zip
Allow bug aliases for explicit bug lookups.
-rw-r--r--bugzilla.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla.rb b/bugzilla.rb
index d0fe2db..6300de2 100644
--- a/bugzilla.rb
+++ b/bugzilla.rb
@@ -1019,7 +1019,7 @@ plugin.default_auth( 'view', true )
plugin.map 'bug :zilla :number',
:requirements => {
- :number => /^#?\d+$/,
+ :number => /^#?\d+$|^\S+$/,
:zilla => /^[^ ]+$/
},
:defaults => { :zilla => nil },