aboutcode-org / aboutcode-org/scancode.io

Spaces in resource paths should be encoded in URLs

Open
#868 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.