Skip to content

configuration variables shouldn't be able to have spaces #18

@cfrank

Description

@cfrank

When you have a configuration like this:

$test 24

example = $test

You get the following error:

[NATWM:ERROR] - 'test' is not defined - Line: 3
[NATWM:ERROR] - Failed to save 'test 24

example' - Line 3 Col: 9
[NATWM:ERROR] - Error reading configuration file!

While this does error out and not save - the error messages are horrible and it appears that there are no checks for \n when parsing variable names - it is just running out the buffer.

We need to fail if a variable appears without a EQUAL char and also not run out the buffer when parsing variable names

Metadata

Metadata

Assignees

No one assigned

    Labels

    configissues related to the configuration parsing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions