We have to escape some chars different than new URL().pathname. This leads to the tests in 68afa06 to fail. A workaround was applied in 7e16ae9.
We probably have to encode the pathname by ourself to have it guarantee. Or we can see if a something like .split("/").map(encodeURIComponent).join("/") works. Or if there is a JS stdlib implementation that matches what the S3 standard requires.
We have to escape some chars different than
new URL().pathname. This leads to the tests in 68afa06 to fail. A workaround was applied in 7e16ae9.We probably have to encode the pathname by ourself to have it guarantee. Or we can see if a something like .split("/").map(encodeURIComponent).join("/") works. Or if there is a JS stdlib implementation that matches what the S3 standard requires.