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

自动生成的sitemap中部分链接不正确 #310

Closed
5 of 7 tasks
XuCpeng opened this issue Sep 25, 2019 · 2 comments
Closed
5 of 7 tasks

自动生成的sitemap中部分链接不正确 #310

XuCpeng opened this issue Sep 25, 2019 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@XuCpeng
Copy link

XuCpeng commented Sep 25, 2019

我确定我已经查看了 (标注[ ][x])


我要申请 (标注[ ][x])

  • BUG 反馈
  • 添加新的特性或者功能
  • 请求技术支持

今天google发邮件说有5个链接出现了错误,我查看了一下sitemap.xml,其中的部分网址的确无法访问。
简单的测试了一下,好像只要链接中含有空格时就会出现这个问题,sitemap会用+代替,而实际的网址是用%20

例如:
sitemap中的描述:

实际网址:

sitemap.xml地址:https://x.medemede.cn/sitemap.xml

@ruibaby
Copy link
Member

ruibaby commented Sep 25, 2019

嗯 应该是 URLEncode 把空格转成了+号。

@JohnNiang JohnNiang added the kind/bug Categorizes issue or PR as related to a bug. label Sep 25, 2019
@ruibaby
Copy link
Member

ruibaby commented Nov 22, 2019

这个问题已解决:cd2c3a1

@ruibaby ruibaby closed this as completed Nov 22, 2019
JohnNiang pushed a commit to JohnNiang/halo that referenced this issue Mar 2, 2023
JohnNiang pushed a commit to JohnNiang/halo that referenced this issue Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants