~sircmpwn/sr.ht-discuss

2 2

[builds.sr.ht] HTTP 500 Internal Error during oauth string parsing?

Details
Message ID
<e6709b1c-8181-4182-9926-595a38b7bc57@app.fastmail.com>
DKIM signature
missing
Download raw message
By submitting this manifest to <https://builds.sr.ht/submit>, an
unhandled internal server error is returned:

image: alpine/edge 
oauth: foo 
tasks:
  - noop: "true"

I believe it has to do with the parsing of the `oauth` string, which
breaks when it doesn't contain a `/`. This manifest is parsed
successfully:

image: alpine/edge 
oauth: "foo/bar" 
tasks:
  - noop: "true"
Details
Message ID
<5155dfd8-d798-41b6-aedf-f8b41d8d7ab4@bitfehler.net>
In-Reply-To
<e6709b1c-8181-4182-9926-595a38b7bc57@app.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
On 12/29/23 05:20, Noelle Leigh wrote:
> By submitting this manifest to <https://builds.sr.ht/submit>, an
> unhandled internal server error is returned:

Thanks for pointing that out. I submitted a patch that fixes that (by 
properly displaying the error message):

https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/48283

Cheers,
Conrad
Details
Message ID
<29c4aa6c-6e96-4319-94a4-861359b5e17b@app.fastmail.com>
In-Reply-To
<5155dfd8-d798-41b6-aedf-f8b41d8d7ab4@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
On Thu, Jan 4, 2024, at 4:55 AM, Conrad Hoffmann wrote:
> Thanks for pointing that out. I submitted a patch that fixes that (by 
> properly displaying the error message):
>
> https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/48283

Thanks Conrad!
Reply to thread Export thread (mbox)