Bug 1010082 - Fix |mach dxr| URL; f=erikrose

This commit is contained in:
Ed Morley 2014-05-14 16:26:17 +01:00
parent 033d5fc4e8
commit 4d4f220438

View File

@ -37,7 +37,7 @@ class SearchProvider(object):
def dxr(self, term):
import webbrowser
term = ' '.join(term)
uri = 'http://dxr.mozilla.org/search?tree=mozilla-central&q=%s' % term
uri = 'http://dxr.mozilla.org/mozilla-central/search?q=%s&redirect=true' % term
webbrowser.open_new_tab(uri)
@Command('mdn', category='misc',