Skip to content

Conversation

@xuenhua
Copy link

@xuenhua xuenhua commented Apr 24, 2022

  1. log4j2漏洞升级
  2. 修正currentUrl为下载后文件地址进行预览

klboke
klboke previously approved these changes Jul 26, 2022

<dependencies>
<!-- log4j -->
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

系统没有用 log4j 哦,这个不是很必要吧

// 不是http开头,浏览器不能直接访问,需下载到本地
if (url != null && !url.toLowerCase().startsWith("http")) {
// ftp 或 http 文件先下载到本地
if (url != null && (url.toLowerCase().startsWith("http")||url.toLowerCase().startsWith("ftp"))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修改后并没改变原来代码表达的含义吧??,这里不是很清楚改动

@klboke klboke self-requested a review July 26, 2022 01:48
@klboke klboke dismissed their stale review July 26, 2022 01:52

误操

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants