Skip to content

Cloud Log Manager URL field not validated #7577

@DavidePrincipi

Description

@DavidePrincipi

Under System Logs Settings page, the configuration of the Cloud Log Manager URL field does not validate the URL syntax. A wrong value can be set, preventing the correct forwarding of logs.

Steps to reproduce

  • Set "Cloud Log Manager URL" field to a non-URL value
  • Save settings
Image

Expected behavior

The form is not saved and a validation error is displayed.

Actual behavior

The form is saved, the forwarder started and a recurring error message is found in the journal:

Jul 29 11:00:36 ns8node runagent[2539290]: Error during loop: Invalid URL 'nar.nethesis.it/adm/syslog/noauth_put_json/': No scheme supplied. Perhaps you meant https://nar.nethesis.it/adm/syslog/noauth_put_json/?

Components

  • Core 3.9.2

See also


Thanks to @NethNick

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions