mail-server icon indicating copy to clipboard operation
mail-server copied to clipboard

[bug]: cli fails if URL ends with /

Open williamdes opened this issue 7 months ago • 1 comments

What happened?

[...]

: expected value at line 1 column 1

How can we reproduce the problem?

I can reproduce the problem by doing the following steps: ./stalwart-cli --url http://10.x.x.x:8888/

It goes away if I remove the / Not sure how this can be fixed. Maybe an internal user agent or Accepts header could do the trick.

Version

v0.8.x

What database are you using?

None

What blob storage are you using?

None

Where is your directory located?

None

What operating system are you using?

None

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

williamdes avatar Jul 06 '24 22:07 williamdes