Skip to content

Using hyphen in a server-environment file crashes the tab "Environment based configurations" #263

@nicolasctie

Description

@nicolasctie

If you use a hyphen in the section name in a server-environment file, the tab "Environment based configurations" will crash and not open, meaning it is not possible anymore to consult the actual server environment files.

Module

server_environment_files

Describe the bug

If you use an hyphen in the section name in a server-environment file, the tab "Environment based configurations" will crash and not open, meaning it is not possible anymore to consult the actual server environment files.

To Reproduce

Affected versions: 17.0.1.2.1

Steps to reproduce the behavior:

  1. Have an XML using hyphen in the "name" property :
Bounce-Inbox
  1. Use the value of the "name" property in the section name in a server environment file

[incoming_mail.Bounce-Inbox]
server_type=imap
server=myserver
port=666
object_id=9999
user=madame_michu
password=madame_michu

  1. Head to tab "Environment based configurations"

Expected behavior
When I go to tab "Environment based configurations" , I except to be able to see the content of the existing server environment files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions