Re: pkgs contain non URL safe characters

From: Aristedes Maniatis <ari_at_ish.com.au>
Date: Tue, 01 Mar 2022 13:25:14 UTC
On 1/3/2022 10:57pm, Ronald Klop wrote:

>
> The + character is not special in this part of the URL. The request 
> send by pkg is compliant to the specs.
>
> I'm aware of having specs and having what browsers and servers do in 
> real life.
> Why does Cloudfront decode a + to a space in this part of the URL?
>
> Regards,
> Ronald.


You are exactly correct. Turns out that AWS S3 is not following RFC 1866 
<https://datatracker.ietf.org/doc/html/rfc1866> and hasn't since the 
beginning. And I'm guessing it is now too late. With this new 
information I've finally found a thread complaining about this (it 
affects other repos like apt).

https://forums.aws.amazon.com/thread.jspa?threadID=55746


My little hack of renaming openjdk packages will have to stay I guess.


Thanks

Ari