halo icon indicating copy to clipboard operation
halo copied to clipboard

后台部分表单中如果是 URL 类型的输入框,需要做 trim 处理

Open ruibaby opened this issue 3 years ago • 12 comments

你当前使用的版本

1.5.2

描述一下此特性

后台部分表单中,如果有 URL 类型的输入框,需要去掉字符串前后空格。

如:

  • 系统设置中博客地址、Logo、Favicon
  • 附件设置的 entrypoint、自定义域名。
  • SMTP 设置中的 SMTP 地址。

see https://github.com/halo-dev/halo/issues/1850

/kind feature /cc @halo-dev/sig-halo-admin /milestone 1.5.x

附加信息

No response

ruibaby avatar Apr 18 '22 14:04 ruibaby

/good-first-issue

ruibaby avatar Apr 18 '22 14:04 ruibaby

@ruibaby: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Apr 18 '22 14:04 f2c-ci-robot[bot]

/assign

Have-an-flower avatar Apr 19 '22 11:04 Have-an-flower

/area admin

ruibaby avatar May 06 '22 04:05 ruibaby

/assign

FanZeros avatar May 19 '22 14:05 FanZeros

Hi @FanZeros ,首先非常感谢能够关注 issue,不过这个 issue 已经被 https://github.com/halo-dev/halo/issues/1921#issuecomment-1119242674 认领了,可能 @Have-an-flower 已经在做这个事情了。为了避免重复做同一件事情,建议不要重复认领,谢谢!

你可以回复 /unassign 取消认领。

JohnNiang avatar May 19 '22 14:05 JohnNiang

好的,/unassign

FanZeros avatar May 19 '22 14:05 FanZeros

/unassign

FanZeros avatar May 19 '22 14:05 FanZeros

/remove-kind feature /kind improvement

ruibaby avatar May 19 '22 16:05 ruibaby

/unassign

Have-an-flower avatar May 20 '22 06:05 Have-an-flower

您好 由于自身水平有限(基础不牢) 暂时搞不出来 抱歉

Have-an-flower avatar May 20 '22 06:05 Have-an-flower

/assign

FanZeros avatar May 20 '22 07:05 FanZeros