HomeSoftware Heritage

utils: Fix unquoted SWHID URLs generated by get_swhids_info

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

utils: Fix unquoted SWHID URLs generated by get_swhids_info

As a SWHID with qualifiers might have some percent encoded characters (like ;
which is used as separator between qualifiers) and HTTP servers will unquote
received URL arguments, a SWHID must also be percent encoded when used as an
URL argument.

This prevent HTTP errors when trying to browse such SWHIDs as previously the
unquoting performed by HTTP servers would remove percent encoding of qualifiers
and thus break escaping of ; used ad separation character.

Details

Provenance
anlambertAuthored on Dec 12 2022, 5:11 PM
anlambertPushed on Dec 15 2022, 3:44 PM
Differential Revision
D8955: utils: Fix unquoted SWHID URLs generated by get_swhids_info
Build Status
Buildable 33243
Build 52124: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.