Skip to content

Python parsing can not handle special characters like "aöäüß" #5

@skekec-idoit

Description

@skekec-idoit

Expected behavior

Parsing can handle special characters.

Actual behavior

Parsing can not handle special characters.

Steps to reproduce the behavior

  • Create a multi site architecture
  • Enter an alias which includes some special characters
  • Run "sync-sites"

Environment

Question Answer
bheisig/checkmkwebapi version LATEST
Checkmk version LATEST

Logs and other useful output

Checkmk responded with an error message: {'result': {'site_id': u'XXXXXXX1', 'site_config': {'url_prefix': '', 'status_host': None, 'user_sync': None, 'socket': ('tcp', {'tls': ('encrypted', {'verify': True}), 'address': ('XXXXXXX.de', 6557)}), 'replication': 'slave', 'user_login': True, 'insecure': False, 'disable_wato': True, 'disabled': False, 'alias' : u'Special char included here \xdf en', 'secret': 'XXXXXXXXXX', 'globals': {'dcd_web_api_connection': {'credentials': 'automation', 'base_url': 'https://XXXXXXX1 '}}, 'replicate_mkps': True, 'proxy': {'params': None}, 'timeout': 2, 'persist': False, 'replicate_ec': True, 'multisiteurl': 'https://XXXXXXXXXXX/check_mk/'}, 'configuration_hash': 'XXXXXXXXXX'}, 'result_code': 0}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions