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

[dev.icinga.com #10781] LoggingConfigForm.php complains about whitespace but checks with /^[^\W]+$/ #2178

Closed
icinga-migration opened this issue Dec 7, 2015 · 2 comments
Labels
area/configuration Affects the configuration bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10781

Created by and on 2015-12-07 07:54:54 +00:00

Assignee: (none)
Status: Resolved (closed on 2015-12-09 17:25:06 +00:00)
Target Version: 2.1.1
Last Update: 2015-12-10 08:02:04 +00:00 (in Redmine)


Hi,
in LoggingConfigForm.php:69 and LoggingConfigForm.php:79
validation checks string with regex /[\W]+$/'
and can complains with 'The application prefix must not contain whitespace.'

This is incorrect because [^\W] sample space are not whitespaces only.

Changesets

2015-12-09 16:56:22 +00:00 by aklimov ad3f6bb

LoggingConfigForm: correct syslog application prefix validation

fixes #10781
@icinga-migration
Copy link
Author

Updated by aklimov on 2015-12-09 17:25:07 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset ad3f6bb.

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-12-10 08:02:04 +00:00

  • Category changed from Installation to Configuration
  • Target Version set to 2.1.1

@icinga-migration icinga-migration added bug Something isn't working area/configuration Affects the configuration labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.1.1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Affects the configuration bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant