Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mrtnbr opened this issue Jun 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@mrtnbr
Copy link

mrtnbr commented Jun 18, 2024

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
@mrtnbr mrtnbr added the bug Something isn't working label Jun 18, 2024
@garethgeorge
Copy link
Owner

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).

@mrtnbr
Copy link
Author

mrtnbr commented Jun 25, 2024

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

@garethgeorge
Copy link
Owner

Great, glad that worked for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants