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

INI: newline handling broken #1716

Open
markus2330 opened this Issue Dec 5, 2017 · 0 comments

Comments

2 participants
@markus2330
Contributor

markus2330 commented Dec 5, 2017

Seems like INI needs some rework to handle new-lines within (meta) key names properly.

Steps to Reproduce the Problem

kdb mount newline.ini /newline ini

kdb setmeta user/newline/metakey "a
b" test

kdb lsmeta user/newline/metakey
#> internal/ini/key/number
#> internal/ini/order
#> internal/ini/parent

cat `kdb file user/newline/metakey`
#> #@META a
#> b = test
#> metakey =

Expected Result

Encode newline differently to distinguish it from new keys, maybe using a code plugin?

Actual Result

Newlines end up in file and create new unwanted keys.

System Information

  • Elektra Version: master

Further Log Files and Output

@markus2330 markus2330 added the bug label Dec 5, 2017

@markus2330 markus2330 added this to the 0.8.21 milestone Dec 5, 2017

@markus2330 markus2330 modified the milestones: 0.8.21, 0.8.22 Dec 22, 2017

@markus2330 markus2330 modified the milestones: 0.8.22, 0.8.23 Feb 24, 2018

@markus2330 markus2330 added this to to fix in lcdproc Mar 31, 2018

@markus2330 markus2330 modified the milestones: 0.8.23, 0.8.24 Apr 15, 2018

@markus2330 markus2330 modified the milestones: 0.8.24, 0.8.25 Aug 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment