3 Star 1 Fork 3

Gitee 极速下载/bugzilla

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
Bugzilla
contrib
docker
docs
extensions
images
js
lib
skins
t
template/en/default
xt
.bzrignore
.gitignore
.htaccess
.perltidyrc
.readthedocs.yaml
Bugzilla.pm
Build.PL
Dockerfile
Dockerfile.mariadb
LICENSE
MANIFEST.SKIP
README
SECURITY.md
admin.cgi
attachment.cgi
buglist.cgi
chart.cgi
checksetup.pl
clean-bug-user-last-visit.pl
colchange.cgi
collectstats.pl
config.cgi
createaccount.cgi
describecomponents.cgi
describekeywords.cgi
docker-compose.yml
duplicates.cgi
editclassifications.cgi
editcomponents.cgi
editfields.cgi
editflagtypes.cgi
editgroups.cgi
editkeywords.cgi
editmilestones.cgi
editparams.cgi
editproducts.cgi
editsettings.cgi
editusers.cgi
editvalues.cgi
editversions.cgi
editwhines.cgi
editworkflow.cgi
email_in.pl
enter_bug.cgi
importxml.pl
index.cgi
install-module.pl
jobqueue.pl
jsonrpc.cgi
migrate.pl
mod_perl.pl
page.cgi
post_bug.cgi
process_bug.cgi
query.cgi
quips.cgi
relogin.cgi
report.cgi
reports.cgi
request.cgi
rest.cgi
robots.txt
runtests.pl
sanitycheck.cgi
sanitycheck.pl
search_plugin.cgi
show_activity.cgi
show_bug.cgi
showdependencygraph.cgi
showdependencytree.cgi
summarize_time.cgi
testagent.cgi
testserver.pl
token.cgi
userprefs.cgi
votes.cgi
whine.pl
whineatnews.pl
xmlrpc.cgi
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bugzilla/bugzilla
克隆/下载
rest.cgi 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
use 5.14.0;
use strict;
use warnings;
use lib qw(. lib);
use Bugzilla;
use Bugzilla::Constants;
use Bugzilla::Error;
use Bugzilla::WebService::Constants;
BEGIN {
if (!Bugzilla->feature('rest') || !Bugzilla->feature('jsonrpc')) {
ThrowUserError('feature_disabled', {feature => 'rest'});
}
}
use Bugzilla::WebService::Server::REST;
Bugzilla->usage_mode(USAGE_MODE_REST);
local @INC = (bz_locations()->{extensionsdir}, @INC);
my $server = new Bugzilla::WebService::Server::REST;
$server->version('1.1');
$server->handle();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Perl
1
https://gitee.com/mirrors/bugzilla.git
git@gitee.com:mirrors/bugzilla.git
mirrors
bugzilla
bugzilla
5.2

搜索帮助