Skip to content

Commit

Permalink
update to v1.0.31-release
Browse files Browse the repository at this point in the history
  • Loading branch information
KOHGYLW committed May 15, 2020
1 parent 0081728 commit 5c19709
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 14 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_

> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
### 常规更新v1.0.30
### 常规更新v1.0.31
_本次更新为维护性的更新,修复一些已经发现的问题并优化使用体验,推荐所有用户升级。_
+ 修复了“自由注册新账户”和“用户修改账户密码”功能中存在的一个安全性漏洞。
+ 进一步完善了服务器配置文件的效验机制。
+ 进一步完善了文件上传机制,使其能够正确识别一些含有Unix特殊字符的文件名。
+ 进一步完善了账户登录认证机制,使其能够正确识别某些含有特殊字符账户名。
+ 其他一些细节优化。


> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
Expand Down
Binary file not shown.
Binary file modified kiftd说明文档.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion webContext/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<!-- 青阳网络文件传输系统 kiftd v1.0.30-RELEASE -->
<!-- 青阳网络文件传输系统 kiftd v1.0.31-RELEASE -->
<!-- 欢迎访问主界面 -->
<!-- by 青阳龙野([email protected]) -->
<html>
Expand Down
5 changes: 1 addition & 4 deletions webContext/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ function checkUploadFile() {
var maxSize = 0;
var maxFileIndex = 0;
for (var i = 0; i < fs.length; i++) {
filenames[i] = fs[i].name.replace(/^.+?\\([^\\]+?)?$/gi, "$1");
filenames[i] = fs[i].name;
if (fs[i].size > maxSize) {
maxSize = fs[i].size;
maxFileIndex = i;
Expand Down Expand Up @@ -3481,9 +3481,6 @@ function sendChangePasswordInfo(encrypted) {
case "invalidnewpwd":
showChangePasswordAlert("提示:密码修改失败,新密码不合法。新密码的长度需为3-32个字符,且仅支持ISO-8859-1中的字符(推荐使用英文字母、英文符号及阿拉伯数字)。");
break;
case "hasescapes":
showChangePasswordAlert("提示:密码修改失败,新密码不合法。密码中不得包含“\\”。");
break;
case "error":
showChangePasswordAlert("提示:密码修改失败,修改请求无法通过加密效验(可能是请求耗时过长导致的)");
break;
Expand Down
6 changes: 3 additions & 3 deletions webContext/js/home.min.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions webContext/js/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ function sendSignUpInfo(encrypted){
case "error":
showAlert("提示:注册失败,注册请求无法通过加密效验(可能是请求耗时过长导致的)");
break;
case "hasescapes":
showAlert("提示:注册失败,账户名或密码中不得包含“\\”。");
break;
case "cannotsignup":
showAlert("提示:注册失败,发生意外错误,请稍后重试或联系管理员");
break;
Expand Down

0 comments on commit 5c19709

Please sign in to comment.