Skip to content

点击左上角LOGO返回主页会暴露ip地址和端口号 #409

Closed

Description

@JCVICTORSUN

目前使用的 Sakura 版本?

2.0.0-beta.2

目前使用的 halo 版本?

2.7.0

建议/问题

是热心的网友发现的

当用域名访问网站后,如果设置左上角为LOGO,点击返回主页会暴露ip地址和端口号
感觉还是挺危险的
希望能快点修复(╹▽╹)

Activity

  1. LIlGG commented on Aug 1, 2023

    @LIlGG
    Owner

    与 Logo 没有太大的关系,此处设置的是你的站点地址,与你的后台设置有关或者创建容器时的 - --halo.external-url=http://localhost:8090/ 有关

  2. JCVICTORSUN commented on Aug 1, 2023

    @JCVICTORSUN
    Author

    okk感谢。这里也提供一下我的解决方法:我自己是用1Panel的运维面板,通过反向代理把网站发布的。所以我在反向代理设置中把后端代理地址的文本替换成了域名。但代价貌似是网站加载会变缓慢)

  3. Repository owner locked and limited conversation to collaborators on Aug 4, 2023
  4. converted this issue into a discussion #413 on Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions