aboutcode-org / aboutcode-org/scancode.io

Spaces in resource paths should be encoded in URLs

Offen
#868 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
215
Forks
203
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.