fix(stellar-artalk): bump version, fix site name escape #452
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复以下问题:
1、低版本的 artalk js 无法对接高版本的 artalk 后端,升级配置文件中的版本;
2、模板中向 artalk 传递 site 名称使用了
<%=
转义会导致 artalk 无法对应站点,改用<%-
解决。例如我的博客名叫
Frytea's Blog
,但是在 artalk 看到请求的是类似Frytea's Blog
导致 artalk 无法找到对应名字的站点,最终得到 404 错误。Error: 未找到站点:`Frytea's Blog`,请在控制台创建站点
Fix the following issues:
<%=
for escaping will cause artalk to not recognize the site correctly, use<%-
instead.For example, if my blog is named 'Frytea's Blog', but in artalk I see requests like 'Frytea's Blog', which causes artalk to be unable to find the corresponding site name, resulting in a 404 error.