Skip to content

Support quoting config variables#2175

Merged
connortechnology merged 3 commits intoZoneMinder:masterfrom
knight-of-ni:quotes
Aug 11, 2018
Merged

Support quoting config variables#2175
connortechnology merged 3 commits intoZoneMinder:masterfrom
knight-of-ni:quotes

Conversation

@knight-of-ni
Copy link
Member

@knight-of-ni knight-of-ni commented Aug 6, 2018

Looking into the following issue in the user forum revealed that ZoneMinder treats quotes as part of the string: https://forums.zoneminder.com/viewtopic.php?f=37&t=27435

This pr allows proper handling of quoted strings. It also surrounds zm_path_arp in quotes in the default config file because cmake can populate this at build time with "/path/to/ip neigh".

One could make an argument that we should surround all config variables in quotes by default, but I stopped short of doing that.

@connortechnology connortechnology merged commit 3dc4242 into ZoneMinder:master Aug 11, 2018
@knight-of-ni knight-of-ni deleted the quotes branch November 24, 2018 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants