summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2017-08-11 22:02:16 +0200
committerDylan William Hardison <dylan@hardison.net>2017-08-11 22:02:16 +0200
commite5ee36ba43a80554aceb04d6b6c4504c6d21e3fb (patch)
treeb05066bc0905b74d4d37e661ccccf2c5038c9d9e /.htaccess
parent63dd3061a164345095847e502bb5395bb5570c3a (diff)
downloadbugzilla-e5ee36ba43a80554aceb04d6b6c4504c6d21e3fb.tar.gz
bugzilla-e5ee36ba43a80554aceb04d6b6c4504c6d21e3fb.tar.xz
Bug 1382225 - Missing code from PhabBugz extension such as http basic auth support and other minor improvements
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index b07ce9a0d..abcae4d2c 100644
--- a/.htaccess
+++ b/.htaccess
@@ -100,6 +100,7 @@ RewriteRule ^form[\.:](ipc|IPC)$ enter_bug.cgi?product=Marketing&format=ipc [QSA
RewriteRule ^form[\.:]nda$ enter_bug.cgi?product=Legal&format=nda [QSA]
RewriteRule ^form[\.:]name[\.:]clearance$ enter_bug.cgi?product=Legal&format=name-clearance [QSA]
RewriteRule ^form[\.:]shield[\.:]studies$ enter_bug.cgi?product=Shield&format=shield-studies [QSA]
+RewriteRule ^rest - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
RewriteRule ^(?:latest|1\.2|1\.3)/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]
RewriteRule ^bzapi/(.*)$ extensions/BzAPI/bin/rest.cgi/$1 [NE]