Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log4j2漏洞升级、修正currentUrl为下载后文件地址进行预览 #350

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xuenhua
Copy link

@xuenhua xuenhua commented Apr 24, 2022

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

klboke
klboke previously approved these changes Jul 26, 2022
</dependency>
</dependencies>
</dependencyManagement>

<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
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.

None yet

2 participants