aboutcode-org / aboutcode-org/scancode.io

Spaces in resource paths should be encoded in URLs

未关闭
#868 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
215
派生
203
平均合并
4 天 8 小时
30 天内合并 PR
6

描述

The URL (in the browser address bar) looks like this `https://localhost/project/test/resources/foo/Bar Baz.zip-extract/foo-3.0.0.jar/#essentials` but should not have spaces instead and should use the quote+plus encoding as in `https://localhost/project/test/resources/foo/Bar+Baz.zip-extract/foo-3.0.0.jar/#essentials` ... Otherwise, the ULR is to recognized as a a full link when pasted in places that recognize URLs: the link would be truncated to `https://localhost/project/test/resources/foo/Bar` as it is here on GH.

See:

https://localhost/project/test/resources/foo/Bar Baz.zip-extract/foo-3.0.0.jar/#essentials

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。