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 摘要。