snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

Remove trailing slash from staging STORE_UPLOAD_URL.

Open Roadmaster opened this issue 2 years ago • 1 comments

The trailing slash results in:

simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

because the upload path contains a double slash, in the server logs we see:

POST //unscanned-upload/ HTTP/1.1...

  • [ ] Have you followed the guidelines for contributing?
  • [ ] Have you signed the CLA?
  • [ ] Have you successfully run make lint?
  • [ ] Have you successfully run pytest tests/unit?

Roadmaster avatar Aug 17 '22 15:08 Roadmaster

Codecov Report

Merging #3876 (c64c41b) into main (b962783) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3876   +/-   ##
=======================================
  Coverage   88.59%   88.59%           
=======================================
  Files          79       79           
  Lines        4842     4842           
=======================================
  Hits         4290     4290           
  Misses        552      552           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov-commenter avatar Aug 17 '22 16:08 codecov-commenter