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
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Dec 7, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Dec 9, 2015

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

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Dec 10, 2015

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.