summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-26 22:59:30 +0200
committerGitHub <noreply@github.com>2018-06-26 22:59:30 +0200
commitde80a6c015fb0d63040a111288be26b2118684a4 (patch)
tree7829af10f8a3b844c8f7ab0018194c170f41bd4e /.htaccess
parenta685e15218fbe7d26015a579c96caf7de783732d (diff)
downloadbugzilla-de80a6c015fb0d63040a111288be26b2118684a4.tar.gz
bugzilla-de80a6c015fb0d63040a111288be26b2118684a4.tar.xz
Revert "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, 1 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index ac0e40d88..ee7d296b0 100644
--- a/.htaccess
+++ b/.htaccess
@@ -42,6 +42,7 @@ 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]
@@ -83,8 +84,6 @@ 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]