summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-15 02:50:08 +0200
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-06-15 02:50:08 +0200
commit404dc5496967203c5f99755340f43d712420446a (patch)
treeb369a872bb1fa58c0ad95e249347dc5f8905e337 /.htaccess
parent69e02e0576fc834de982ab6fa3d5b77ce7fe472a (diff)
downloadbugzilla-404dc5496967203c5f99755340f43d712420446a.tar.gz
bugzilla-404dc5496967203c5f99755340f43d712420446a.tar.xz
Bug 1468848 - Change presentation of show_bug.cgi urls to be /bug/ID or /bug/ALIAS.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 2 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index ee7d296b0..ac0e40d88 100644
--- a/.htaccess
+++ b/.htaccess
@@ -42,7 +42,6 @@ RewriteRule ^template_cache.deleteme/ - [F,L,NC]
RewriteRule ^review$ page.cgi?id=splinter.html$1 [QSA]
RewriteRule ^user_?profile$ page.cgi?id=user_profile.html$1 [QSA]
RewriteRule ^request_defer$ page.cgi?id=request_defer.html$1 [QSA]
-RewriteRule ^([0-9]+)$ show_bug.cgi?id=$1 [QSA]
RewriteRule ^favicon\.ico$ extensions/BMO/web/images/favicon.ico
RewriteRule ^form[\.:]itrequest$ enter_bug.cgi?product=Infrastructure+\%26+Operations&format=itrequest [QSA]
RewriteRule ^form[\.:](mozlist|poweredby|presentation|trademark|recoverykey)$ enter_bug.cgi?product=mozilla.org&format=$1 [QSA]
@@ -84,6 +83,8 @@ RewriteRule ^form[\.:]shield[\.:]studies$ enter_bug.cgi?product=Shield&format=sh
RewriteRule ^form[\.:]client[\.:]bounty$ enter_bug.cgi?product=Firefox&format=client-bounty [QSA]
RewriteRule ^rest - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
+RewriteRule ^bug/([^/]+)$ show_bug.cgi?id=$1 [NE]
+RewriteRule ^([0-9]+)$ show_bug.cgi?id=$1 [QSA]
RewriteRule ^(?:latest|1\.2|1\.3)/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]
RewriteRule ^bzapi/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]
RewriteRule ^login$ index.cgi?GoAheadAndLogIn=1 [NE]