Argus icon indicating copy to clipboard operation
Argus copied to clipboard

Admin allows saving ticket urls without "http(s)://"

Open hmpf opened this issue 1 year ago • 1 comments

This makes it hard using the content of a ticket url for a link later.

Classic frontend tackles this, new frontend does not.

See also Uninett/argus-htmx-frontend#112

hmpf avatar Sep 06 '24 06:09 hmpf

I have checked this out and if using the frontend to set the ticket url it will silently fail if adding something that is not a url (e.g. "abc"), but it will not add it to the incident. When adding a url that does not have http(s):// in front of it (e.g. "www.example.com") it will convert it to "http://www.example.com".

Should anything from the behavior of the frontend be changed? Or is the problem purely in the admin?

johannaengland avatar Jan 09 '25 14:01 johannaengland