mantisbt-plugins / Snippets

Define snippets of text that can be easily pasted into text fields
MIT License
8 stars 12 forks source link

REST GET / endpoint not working #68

Closed dregad closed 1 year ago

dregad commented 1 year ago

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 the POST / endpoint).

vboctor commented 1 year ago

@dregad

See PR #69

vboctor commented 1 year ago

I have also seen some local servers redirect http to https and lose authentication headers in the process.

dregad commented 1 year ago

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.

dregad commented 1 year ago

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.