Closed dregad closed 1 year ago
@dregad
See PR #69
I have also seen some local servers redirect http to https and lose authentication headers in the process.
Thanks for the fix. I confirm that with #69 merged,
With global=1 I get HTTP 200 but it's actually a Mantis Access Denied error page
is fixed
With global=0 I get HTTP 200 and an empty list, but there should be one Snippet
is working fine on this computer (Windows 10 with ubuntu running on WSL) but it's not the same one I used when I got the issue last week, so I'll double-check on the other box (MacOS) later to make sure.
With global=0 I get HTTP 200 and an empty list, but there should be one Snippet
is no longer reproducible on my Mac (even with 8d9a4c08) so it must have been an environment-specific fluke.
Following the merge of #66, I tried to use the new endpoints and noticed that
GET /
is not working (this is right after successfully creating both a global and a personal Snippet, using thePOST /
endpoint).With
global=1
I get HTTP 200 but it's actually a Mantis Access Denied error pageWith
global=0
I get HTTP 200 and an empty list, but there should be one Snippet; notice the X-Mantis-Username: anonymous header, which should actually be the administrator account owning the API Token I used for Authorization.