aboutcode-org / aboutcode-org/scancode.io

Spaces in resource paths should be encoded in URLs

Đang mở
#868 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.