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

水印显示文本修改,添加不可猜测字符提升安全性 #2577

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

feiazifeiazi
Copy link
Contributor

  1. 水印显示文本修改,由之前的display 改为 display+创建日期格式化Hdi。(Hdi:小时,日,分钟)
  2. 水印文本这个js变量在浏览器F12里很容易找,很方便被人修改为其他人的名字,进行伪造。添加不可猜测的用户创建日期防止伪造。能接受删除水印,但不能接受伪造水印。

修改后的效果:
image

修改前的效果:
img_v3_029r_c5a5f36a-dcd7-4fd1-809c-83824c60786g

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.89%. Comparing base (48101d9) to head (99835c1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2577   +/-   ##
=======================================
  Coverage   76.89%   76.89%           
=======================================
  Files         117      117           
  Lines       16106    16106           
=======================================
  Hits        12385    12385           
  Misses       3721     3721           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LeoQuote LeoQuote merged commit 2396aa2 into hhyo:master Apr 11, 2024
10 checks passed
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