Unescape pre-flight response when uploading plugin#2072
Unescape pre-flight response when uploading plugin#2072AlexTugarev merged 1 commit intogitpod-io:masterfrom
Conversation
|
@jgallucci32 your PR is appreciated! Thanks a lot. Please would you like to change the solution to not encode in the server component, so that decoding is no longer required in the proxy. 🙏
Thanks to @corneliusludmann! he just pointed out, that the explanation wasn't clear enough. |
|
@AlexTugarev Yes I will do that, thank you for pointing out how it was encoded in the first place. After doing some reading I am in agreement. Apparently using
Reference: https://stackoverflow.com/questions/9245333/should-encodeuri-ever-be-used/9245778 |
Fixes issue where the response URI for uploading plugins is double-encoded which generates a "400 Bad Request" error when uploading to Minio. Signed-off-by: jgallucci32 <john.gallucci.iv@gmail.com>
|
/werft run 👍 started the job as gitpod-build-patch-2.0 |
AlexTugarev
left a comment
There was a problem hiding this comment.
Code looks good, let's have a test ride and merge!
|
https://werft.gitpod-dev.com/job/gitpod-build-patch-2.0 is green. @jgallucci32 thank you very much for you contribution 🎉 |
Fixes issue where the response URI for uploading plugins is unescaped which generates a "400 Bad Request" error when uploading to Minio.
Closes #2067