794 Unstar Star 2.5K Fork 1.2K

Discuz! / DiscuzX

Open
!344 删除 $_G['gp_xx']调用并默认关闭本功能

老周部落:PR_Test_v3.5_Remove_Global_gpxx Discuz!:v3.5

老周部落 Created on: 2020-01-15 11:39

考虑到目前$_G全局变量域日渐膨胀,初始化时较长的执行时长和较高的流量占用也对性能造成了很大影响,给高流量站点的性能优化带来大量负担。

并且考虑到$_G['gp_xx']变量直接入库 存在二次注入风险 ,并且目前此功能 使用人数较少 ,因此计划从X3.5开始恢复原X2.5版本$_G['gp_xx']默认关闭的设定,后续版本可能视情况取消此功能。

2 comments, 2 participants 1773794 laozhoubuluo 1594507411 1182630 gududeweidao 1578945378

Show action logs Hide action logs
老周部落 assigned reviewer 湖中沉 2020-01-15 11:39
老周部落 assigned reviewer oldhuhu 2020-01-15 11:39
老周部落 assigned reviewer monkeye 2020-01-15 11:39
老周部落 assigned reviewer Discuz! 2020-01-15 11:39
老周部落 assigned reviewer LooTan 2020-01-15 11:39
老周部落 assigned reviewer comsenz-service 2020-01-15 11:39
老周部落 assigned reviewer DiscuzX 2020-01-15 11:39
老周部落 set priority to Unimportant 2020-01-15 11:39
Check whether the system can automatically merge this Pull Request...
The Pull Request cannot be automatically merged.
The Pull Request cannot be automatically merged.
Gitee trying to handle conflicts...
The current branch merge status has been updated, continue to operate after refreshing the page
The Pull Request can be automatically merged.

This Pull Request cannot be merged temporarily. Current status: Unchecked Can auto merge

This Pull Request can be merged after at least 7 reviewers have passed the review
Merging Pull Request. Wait for a moment, the page will refresh automatically.
PHP
1
https://gitee.com/ComsenzDiscuz/DiscuzX.git
git@gitee.com:ComsenzDiscuz/DiscuzX.git
ComsenzDiscuz
DiscuzX
DiscuzX

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542