garethgeorge/backrest

Gotify Hook: Gotify Base URL does not accept just a hostname: 0,actionGotify,baseUrl is not a valid url

Closed this issue · 3 comments

Note: if you have a question or need support please post in the discussions area.

Describe the bug
I run Backrest and Gotify in the same network, so Gotify can be found by using only the hostname. Backrest however want a full URL when entering the Gotify Base URL.

To Reproduce
Steps to reproduce the behavior:

  1. Go to repository settings or plan settings
  2. Go to 'Add Hook' and click Gotify
  3. Enter something like 'http://gotify' in the Gotify Base URL field
  4. It will not accept the input, error is: 0,actionGotify,baseUrl is not a valid url

Expected behavior
I expect to be able to enter a URL like 'http://gotify'. This can be done when using a Shoutrrr Hook

Screenshots
image

Platform Info

  • Docker (compose) container on Debian (tag latest)
  • Backrest Version 1.1.0

Oops, this is a good catch. Overly zealous form validation is to blame, patching this with a collection of other UI fixes for the next release (targeting a release this weekend).

I can confirm that release 1.2.0 fixes this issue for me! Thank you!

Great, glad that worked for you!