Actions
Bug #35148
closed[Upgrade Pulp Deb] pulp-deb fails to sync repo with a package that contains + in the name
Description
Repo in question: https://packages.confluent.io/clients/deb
Error when attempting to sync:
404, message='Not Found', url=URL('https://packages.confluent.io/clients/deb/pool/main/c/confluent-libserdes/confluent-libserdes++1_8.0.0-1.cflt~ubu20_amd64.deb')
The error is caused by +
not being encoded as %2B
when making the request for the package. I've tested the repo in apt, and it works. Tested with curl too:
$ curl -I 'https://packages.confluent.io/clients/deb/pool/main/c/confluent-libserdes/confluent-libserdes++1_8.0.0-1.cflt~ubu20_amd64.deb'
HTTP/1.1 404 Not Found
Content-Type: application/xml
Connection: keep-alive
Date: Thu, 30 Jun 2022 15:28:04 GMT
Server: AmazonS3
X-Cache: Error from cloudfront
Via: 1.1 b92a7362e458b7339c38e84d8768135e.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: MAN50-C3
Age: 7
$ curl -I 'https://packages.confluent.io/clients/deb/pool/main/c/confluent-libserdes/confluent-libserdes%2B%2B1_8.0.0-1.cflt~ubu20_amd64.deb'
HTTP/1.1 200 OK
Content-Type: application/x-debian-package
Content-Length: 17604
Connection: keep-alive
Date: Thu, 30 Jun 2022 15:28:20 GMT
Last-Modified: Fri, 24 Jun 2022 23:48:11 GMT
ETag: "48f1c14a12193754eb3ae198992e362e"
Accept-Ranges: bytes
Server: AmazonS3
X-Cache: Miss from cloudfront
Via: 1.1 b5e57b301d7ec04bd5d65f7619eb0f34.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: MAN50-C3
Actions