Browse Source

REPORT-77480 fix:SSRF漏洞处理

release/10.0
Kevin.King 2 years ago
parent
commit
1a692e797d
  1. 2
      src/modules/components/test_status/test_status.ts
  2. 2
      webpack/webpack.dev.js

2
src/modules/components/test_status/test_status.ts

@ -74,7 +74,7 @@ export class TestStatus extends BI.Widget {
ref:(_ref:any)=>{ ref:(_ref:any)=>{
self.failMaskers=_ref; self.failMaskers=_ref;
if(this.failMessage.getText()===''){ if(this.failMessage.getText()===''){
this.failMaskers.populateFail(BI.i18nText("Dec-Connect-Failed"),false); this.failMaskers.populateFail(BI.i18nText("Dec-Conn-ect-Failed"),false);
} }
}, },
listeners: [ listeners: [

2
webpack/webpack.dev.js

@ -36,7 +36,7 @@ chokidar
module.exports = merge(common, { module.exports = merge(common, {
devtool: 'eval-source-map', devtool: 'eval-source-map',
entry: { entry: {
show: ['./src/i18n.ts', './src/request.ts', './src/modules/app.ts'], show: ['./src/i18n.ts', './src/request.ts', './src/index.ts'],
}, },
output: { output: {
path: dirs.DEST, path: dirs.DEST,

Loading…
Cancel
Save